Maven2 integration

0 views
Skip to first unread message

roman

unread,
Apr 16, 2007, 4:37:44 PM4/16/07
to Vulcan Users
Hi all,
I evaluating Vulcan in my project integrated with Maven2, and I
have the following situation: I want to have a project that runs my
test and inform "PASS or FAILED" and generate de surefire test
reports.

With
- surefire:report -> Vulcan inform the result of that goal (not
test status)
- test surefire:report -> if a test failed, then surefire do not
execute

Any help?

bye.

Chris Eldredge

unread,
Apr 16, 2007, 5:23:55 PM4/16/07
to vulcan...@googlegroups.com
Hi Roman,

I run "site install" to work around this problem.  First, site generates the surefire reports in target/site as html which can be browsed through Vulcan.  Next, when install runs, maven will fail the build if it detects test failures.

The downside is that your tests run twice instead of only once.  Even worse, if you also generate a code coverage report, you may end up with three executions of these tests.

Hope that helps,

Chris
Reply all
Reply to author
Forward
0 new messages