Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Failing task since test cases were expected but none were found.

Praful October 14, 2018

I have a Bamboo job for mulesoft code, with steps as code checkout, build, test which generates coverage report, deploy.
Test step is failing with message 'Failing task since test cases were expected but none were found.' and coverage report is generated in specific path.
When I remove the specific path, job is success but coverage is not generated.
I tried enabling 'maven return code', which makes the job success, but can't see coverage report.

1. Give the path **/target/*, enable maven return code - job success, coverage not generated
2. Give the path **/target/*, disable maven return code - job failed, coverage generated

1 answer

0 votes
Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 9, 2019

Hi! 

 

We add the artifact in Junit4 xml format and as final task works built-in Junit4 parser 

 

Hope it helps

 

Cheers,

Gonchik Tsymzhitov

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events