Announcement Announcement Module
No announcement yet.
@Configurable causes ambiguous behaviour in unit tests. Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • @Configurable causes ambiguous behaviour in unit tests.

    From the spring documentation Unit testing @Configurable objects, it is suggested that, if you weave classes at compile time, then warnings should be thrown when you create configurable classes in the unit tests.

    However, when using maven to run a group of tests, then the configurable objects will start hunting for a context configuration.

    Is this intended ? If not is it a spring or a maven prob.

    Futher details :