We have an application that uses CDI welding. For our JUnit tests, we launch a new container for welding using the following trick: WeldJUnit4Runner
Since we have many tests, it takes a long time to run them, every time Weld starts and initializes. Is there a “reset” welding method so that we can get a fresh WeldContainer without Weld, which has to re-check the entire class path every time?
source
share