Re:Spring vs. Java EE
by twic on Monday April 10, 2017 @04:53PM
(#14082446)
The context can be reused between tests. If you're not storing data in beans (which you normally shouldn't), this works well. There is a bit of subtlety in that the framework might have to create multiple context for different configurations, but each of them is reusable.
Running a single test is a bit of pain, but running the whole suite is not a lot slower than if it didn't use Spring.
Running a single test is a bit of pain, but running the whole suite is not a lot slower than if it didn't use Spring.