-
Jul 18th, 2008, 04:30 AM
#1
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 ?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules