| Issue 13: | SpringJUnit4ClassRunner | |
| 1 person starred this issue and may be notified of changes. | Back to list |
We need to have a Tumbler runner that extends SpringJUnit4ClassRunner, in order to wire the tests up with spring beans. Can it be done? Thanks
Jun 7, 2011
Project Member
#1
lipinski...@gmail.com
Status:
Invalid
Jun 10, 2011
I am not very well versed in Spring internals, but this trick doesn't look good to me. I think (I have to check it, though) that the spring context is then loaded before every test method run, which is not always good (like in the case of @DirtiesContext). I believe that a new runner should be created, which subclasses SpringJUnit4ClassRunner. |