How to start a Jersey Test Container (Grizzly) once for all tests in a test class?
问题 I am working on fixing the integration tests in one of the projects. Currently, all the integration test classes extend the JerseyTest class. Going through the JerseyTest class I realized that it starts and stops the container for every test method using Junit's Before and After annotations. Why is this necessary? Isn't it enough if we bring up the container once, run the tests and shut it down at the end of it? We also use Spring and it takes time for the context to get initialized. Prior to