Releases: kumuluz/kumuluzee-testing
v1.1.1
v1.1.0
We're announcing the release of the KumuluzEE Testing 1.1.0. The KumuluzEE Arquillian Container Adapter has been updated and delivers improved dependency handling, better exception reporting, support for Uber JAR package deployment and more.
The includeRequiredLibraries
parameter now supports another option - fromPom
, which reads the application pom and includes all runtime and test dependencies declared in the effective pom. This covers an important use case of KumuluzEE Arquillian Adapter - integration testing application as a whole. Whereas before you had to specify each dependency one by one in the MavenDependencyAppender
service class or include them manually in each of the deployments, the KumuluzEE Arquillian Adapter can now try to do that for you.
Another important feature in this release is proper exception reporting during deployment. Arquillian supports testing incorrectly configured deployments by annotating the @Deployment
method with @ShouldThrowException
annotation. Before this release only CDI exceptions were properly detected. With this release any exception thrown during deployment is detected, serialized and reported by the Arquillian executor.
This release also supports packaging of test archives in Uber JAR. Uber JAR has the same structure as the one created by kumuluzee-maven-plugin. If you are deploying your production application in the form of a single JAR, we definitely recommend switching from exploded test archive deployment to the Uber JAR one. All you need to do is set the packaging
property in arquillian.xml to uberJar
.
Another quality of life improvement is auto detection of KumuluzEE version from project's dependencies instead of statically defined version. The auto-discovered version can still be overridden with the kumuluzVersion
parameter if tests need to be run on different version of KumuluzEE than the one defined in project's dependencies.
Features:
- Added support for including dependencies from effective pom.
- Added proper exception reporting.
- Added support for Uber JAR test deployments.
Enhancements:
- Automatic detection of KumuluzEE version from project's dependencies.
v1.0.0
We're announcing the first release of the KumuluzEE Testing tools. The first release contains the KumuluzEE Arquillian Container Adapter, which brings the popular integration testing framework Arquillian to the KumuluzEE.
KumuluzEE Arquillian Container Adapter enables tests to run in an environment closely resembling the production by starting the KumuluzEE container and executing tests within the container. This opens up a myriad of opportunities like testing CDI interactions, sending requests to the application endpoints testing for the correct response and testing interactions with the KumuluzEE server core and its extensions.
We're excited to get the extension into your hands!