Skip to main content

Test failure makes maven not to start thucydides:aggregate goal

  2 posts   Feedicon  
Replies: 1 - Last Post: November 21, 2012 16:33
by: costini
showing 1 - 2 of 2
Posted: November 21, 2012 10:03 by smlionceau
I am using easyB stories for Thucydides.
And maven to start them (mvn test thucydides:aggregate ). If one of tests failed aggregate goal is not starting after tests. Is there a way to start aggregate independently from test result?
Posted: November 21, 2012 16:33 by costini
I had the same problem in the past Smile

What I did? I added --fail-never -DfailIfNoTests=false -Dmaven.test.failure.ignore=true when running the project - it might solve your problem too Smile

If you are running your tests project from Jenkins you can create 2 projects: one for the tests (add: --fail-never -DfailIfNoTests=false -Dmaven.test.failure.ignore=true) and one project for the aggregation itself. The second project (the reporting one) should be coupled as downstream project for the first one.

Replies: 1 - Last Post: November 21, 2012 16:33
by: costini
 
 
Close
loading
Please Confirm
Close