|
|
Re: Athena-style Test results [message #903119 is a reply to message #903099] |
Wed, 22 August 2012 06:28 |
|
On 2012-08-21 23:14, Henrik Lindberg wrote:
>
> Jenkins has lots of functionality in this area - seems better to publish results from there - or let people go directly
> there.
>
I agree. Jenkins/Hudson has very nice capabilities that Buckminster can integrate with.
Buckminster has a test launcher that is capable of running tests directly from your workspace, just as you would by
right-clicking the test and select "Run as" -> "JUnit Plug-in Test". In order to use it you create a launcher in Eclipse
and save it by choosing "Shared file" under the "Run Configurations" tab "Common". This launcher can then be used by the
Buckminster JUnit plug-in. Here's an example that runs our own tests:
buckminster junit -P build.properties -l org.eclipse.buckminster.tests/AllTests.launch -o $WS/testReport.xml
--terseXML --flatXML
The Buckminster junit command will generate JUnit XML. We then let Hudson/Jenkins take it from there and present it
nicely. For more details, please look at the Buckminster source code at
http://git.eclipse.org/c/buckminster/buckminster.git/tree/. The projects relevant to the above command are:
org.eclipse.buckminster.releng
org.eclipse.buckminster.tests
and, if you want the gory details of how it runs
org.eclipse.buckminster.junit
I expect that you can do make Jenkins/Hudson do nice Compile Logs as well by adding a formatter that reads the build
output. Buckminster prints all errors and warnings generated by the Eclipse builder. That includes all markers that you
would normally see in the IDE and it's not limited to just the Java compiler.
HTH,
- thomas
|
|
|
|
Powered by
FUDForum. Page generated in 0.04265 seconds