Wrapper over Weld, exposing operations commonly required for executing tests with Weld. {@link TestContainer} exposes a "Mock Java EE 6" view of Weld,allowing Weld to discover EE components, but not to invoke them.
In general, we recommend using Arquillian to test CDI/Weld applications, however sometimes it useful to have greater control over the test, and in that case you may wish to use {@link TestContainer}.
Note that we can easily mix fine-grained calls to bootstrap, and coarse grained calls to {@link TestContainer}.
@author Pete Muir
|
|
|
|
|
|