Pax Exam 3.0.0.M1 Released

The Pax Exam team is happy to announce the release of OPS4J Pax Exam 3.0.0.M1. This is the first milestone towards the next major release which extends the Pax Exam model of in-container testing from OSGi to Java EE and CDI.

This milestone release includes:

  • Three operation modes OSGi, Java EE and CDI. The functionality of Pax Exam 2.x is equivalent to the OSGi operation mode of Pax Exam 3.x.
  • Support for CDI dependency injection into test classes in Java EE and CDI modes.
  • Generic support for Java EE test containers and WAR deployment.
  • Generic support for WAR test probes. A WAR probe is assembled automatically from the classes and resources on the classpath, including a servlet bridge which acts as a remote control for executing tests in the embedded Java EE container.
  • Generic support for CDI test containers which launch a CDI container in a Java SE environment and directly execute test methods without using a probe.
  • A GlassFish Java EE Container which launches GlassFish 3.1.2 on top of an OSGi framework and lets the user deploy any combination of OSGi bundles and plain old WAR modules.
  • An OpenWebBeans CDI container.
  • A Weld CDI container.
  • New reactor strategies PerSuite, PerClass, PerTest, the last two just being handy synonyms for the strategies introduced in Pax Exam 2.x.
  • A ConfigurationFactory for sharing configurations between test classes in a suite.
  • PaxExam is now the preferred synonym for the JUnit4TestRunner.
  • Sample projects and integration tests for the new operation modes. See itest/cdi and itest/javaee in the source repository.

The new containers have been integrated from the jeeunit project, which will be fully superseded by the Pax Exam 3.0.0 final release.

For more details on all changes, see the JIRA release notes below. All new features are covered in the documentation.

As usual, Pax Exam artifacts are available from Maven Central.

All new features in this milestone release are preliminary and may change before the 3.0.0 release.

Please test this milestone release and give us your feedback, either on the mailing list (general@lists.ops4j.org) or via the issue tracker. This will help us pushing the 3.x release in the right direction.

Changes since 2.4.0

type key summary

Unable to locate Jira server for this macro. It may be due to Application Link configuration.