Development guidelines
Development guidelines
Unknown macro: {scrollbar}
Test Containers
A Test Container can be defined by implementing
- org.ops4j.pax.exam.spi.container.TestContainer
- org.ops4j.pax.exam.spi.container.TestContainerFactory
At runtime there should be just one TestContainerFactory implementation defined, so that it can be found by Apache Commons Discovery
(TestContainerFactory) DiscoverSingleton.find( TestContainerFactory.class )
Implementing new options
Options can be defined by
- Pax Exam SPI (core options)
- A Test Container Implementation
by implementing org.ops4j.pax.exam.Option.
For new options, you must make sure that the desired Test Container recognizes them. Pax Runner Test Container has
org.ops4j.pax.exam.container.def.internal.ArgumentsBuilder to "convert" Options into Pax Runner parameters.
, multiple selections available,