What kind of report does BPELUnit

9 views
Skip to first unread message

Michel Sánchez Montells

unread,
Jan 19, 2012, 10:45:07 AM1/19/12
to bpel...@googlegroups.com
I want to join BPELUnit results with Sonar. How can I do that?
Do BPELUnit produce a junit report for coverture or something like that?

Thanks a lot.

Daniel Luebke

unread,
Jan 19, 2012, 3:33:27 PM1/19/12
to BPELUnit
Hi Michel,

that's an interesting constellation :-) BPELUnit produces an XML
report but it is not compatible with the one JUnit produces. Would it
be sufficient to generate a JUnit-compatible one? In my current
project we like to implement this for our maven/surefire build as
well.

Besides test results what formats would Sonar support for reading test
coverage results?

Daniel

On Jan 19, 4:45 pm, Michel Sánchez Montells <monte...@gmail.com>
wrote:

Antonio García Domínguez

unread,
Jan 19, 2012, 3:57:19 PM1/19/12
to bpel...@googlegroups.com
Hi Daniel, hi Michel,

On 19 January 2012 21:33, Daniel Luebke <daniel...@gmail.com> wrote:
> that's an interesting constellation :-) BPELUnit produces an XML
> report but it is not compatible with the one JUnit produces. Would it
> be sufficient to generate a JUnit-compatible one? In my current
> project we like to implement this for our maven/surefire build as
> well.

Daniel, didn't Tammo's BPELUnit Maven plugin already generate
JUnit-style test reports? I think he did it so he could integrate
BPELUnit with ODE's build process.

> Besides test results what formats would Sonar support for reading test
> coverage results?

I'd like to know as well :-).

Antonio

Michel Sánchez Montells

unread,
Jan 19, 2012, 4:21:14 PM1/19/12
to bpel...@googlegroups.com
On 19 January 2012 21:33, Daniel Luebke <daniel...@gmail.com> wrote:
> that's an interesting constellation :-) BPELUnit produces an XML
> report but it is not compatible with the one JUnit produces. Would it
> be sufficient to generate a JUnit-compatible one? In my current
> project we like to implement this for our maven/surefire build as
> well.

Daniel:
Can you explain how to configure your maven/surfire plugin?

Tammo van Lessen

unread,
Jan 20, 2012, 3:36:24 AM1/20/12
to bpel...@googlegroups.com
Hi Mitchell,

BPELUnit is indeed already capable to produce standard junit XML reports that are then taken up by surefire. You can take http://svn.apache.org/viewvc/ode/trunk/bpel-itest/pom.xml?view=markup as an configuration example. It fires up a jetty, deploys a BPEL engine, then runs BPELUnit testcases and let surefire collect the results and then stops jetty again. Regarding coverage reports, I also have no clue what kind of format sonar accepts.

HTH,
  Tammo
Reply all
Reply to author
Forward
0 new messages