Sonntag, 27. Dezember 2009

headless buckminster now does coverage using emma

Thanks to Achim Demelt, the headless version of Eclipse Buckminster also can do coverage reports since a couple of weeks. (It does work for RCP projects plugin tests as well!)

I'd recommend to use it as a buckminster script:
emma -l /plugin.project.name/junit.launch -o output/path/TEST-all.xml
emma -m -l /plugin.project.name/plugin.junit.launch -o output/path/TEST-plugin-all.xml --xml output/path/coverage.xml


This is how you invoke it from console:
buckminster --scriptfile your.script
Useful buckminster commands:
buckminster --help
buckminster listcommands
buckminster junit --help
buckminster emma --help
If that does not help - the guys on the forum are spot on and friendly.

Download and installation of buckminster as headless product are described here: http://www.eclipse.org/buckminster/downloads.html
Note, however, that you need version 3.6 for the recent junit and emma features.
Note as well, that you need to specify your installation directory as absolute path, when following these install directions.


stopsoftwarepatents.eu petition banner