Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

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

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



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


Hope it helps



Gonchik Tsymzhitov

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events