Include Page | ||||
---|---|---|---|---|
|
...
This page describes the architecture of the junit4osgi framework. This does not include the maven-junit4osgi-plugin.
Div | ||||||
---|---|---|---|---|---|---|
| ||||||
|
...
...
Global architecture
A system tested with junit4OSGi is divide in three parts:
...
Thanks to this manifest
header, the junit4OSGi runtime bundle collects tests. This bundle is the core of the test framework, and manage both collection and execution of tests. The runner bundle just launch tests. According to the runner implementation, test selection can also be done. Several runner have been developped:
junit
Felix command: executing test from the Felix shell (only for Felix)- Swing runner: executing test from a Swing application (works for Felix, Equinox and Knopflerfish)
- Immediate runner: executing test as soon the runner arrives in the framework (works for Felix, Equinox and Knopflerfish)
- Maven runner: launching an embedded Felix with required bundle and launching test automatically during the Maven build process.
...
The junit4OSGi framework use junit 3 because it was design and developed to test embedded systems. So, the junit4OSGi framework runs on a J2ME Foundation Profile 1.1 virtual machine (such as Mika). However, soon, junit4OSGi will evolve to support junit4 Junit4 and TestNG.
Include Page | ||||
---|---|---|---|---|
|