In the bitbucket pipeline, it talk about a way to see easily the tests report
All your test results in one place, right here in the log viewer.
So in my maven project I add the jacoco plugin and set the report location to target/tests-report as explain in the link.
So my build write the report in differents folders:
But after ?
Where see the report in bitbucket ?
Hello @Francois Achache ,
Thank you for reaching out to the Community!
In the step where you are executing the tests, could you expand the Build teardown section and verify in the logs if there's any mention of Bitbucket finding your test files?
If Bitbucket identified the test file and it is in the supported format (JUnit or Maven Surefire XML formats), the tests tab might not be shown because all tests were successful.
The test reports tab is only displayed when there are failed tests. Otherwise, if all tests have succeeded, you'll just see an overall result message under the steps' names with the number of tests that were executed.
I hope this helps! Let us know in case you have any questions.
Thank you, @Francois Achache !
Patrik S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.