Announcement Announcement Module
Collapse
No announcement yet.
Autowiring happens before profile evaluation Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Autowiring happens before profile evaluation

    Hi,

    I have a set of tests that are annotated with IfProfileValue in order to enable/disable them depending on the test context.

    These tests require the autowirig of very costly to create services and sessions.

    The problem is that the service are autowired, then the test profile is checked.

    Isn't there a way to check that the test is enbaled before autowiring ? at least when the IfProfileValue is found on the test class rather than on a single tests method ?
Working...
X