Installation
- Download headless Buckminster
- Install core.headless.feature and pde.headless.feature from Buckminster headless update site
- Download zipped Buckminster JUnit site from download area and unpack it
- Install org.eclipse.buckminster.junit.feature from this update site. It contains Buckminster JUnit integration, as well as a headless jdt.junit bundle.
Usage
- Populate your workspace in whichever way you like. Using the IDE is fine. You should have some JUnit tests, though ;-)
- Run a JUnit test. Save the JUnit launch configuration in a project in your workspace, e.g. "/my.bundle.test/test.launch"
- Now try Buckminster JUnit like this:
buckminster -data /path/to/your/workspace
junit
-l /my.bundle.test/test.launch- You should see some progress output on the console. An XML file with the test results will be written to /tmp/test.xml
Notes
- JUnit 3 and 4 are supported.
- Your projects can either be plain Java projects or PDE plug-in projects.
- Your tests must run as plain Java tests. PDE JUnit testing is not supported yet.
- Tests can either be within the same bundle, in a different bundle, or in a fragment bundle. I haven't tried every combination, though...
- The path to the launch config must be a valid location within your workspace.
- This is a very early proof-of-concept version. No error handling whatsoever.