In reference to https://confluence.atlassian.com/bitbucket/test-reporting-in-pipelines-939708543.html, I would like to know what that looks like when it's working. We are running cucumber-selenium tests in pipelines and generating junit xml results in:
./**/test-results/*.xml
But do not see anything in the UI that looks like it's locating the reports or tracking it. We clear the test directory after they finish running (using rm -rf of the parent directory), which may be responsible if the reporting step only runs after the entire pipelines run is completed (but before the instance gets torn down).
We weren't seeing test results using boost::test because we didn't have both the log_sink and report_sink files being generated.
The log_sink needs to be in JUNIT format.
We run with the following switches, I hope it helps someone else:
<exe> --log_level=all --log_format=JUNIT --log_sink="$PWD/test-results/log_sink.xml" --report_level=detailed --report_format=XML --report_sink="$PWD/test-results/report_sink.xml" --use_alt_stack=1 --show_progress=1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.