I'm using restcli tool (https://github.com/restcli/restcli) - command-line test tool for HTTP testing in bitbucket pipelines.
It produces test results in JUnit format, but suddenly bitbucket pipeline captures all tests as successful.
Here example of a test result:
<?xml version="1.0" encoding="UTF-8"?>
<testsuites tests="2" name="IntelliJ Rest CLI - Test Generator">
<testsuite tests="1" name="https://bitbucket.org/"><testcase name="Request executed successfully"/>
</testsuite><testsuite tests="1" name="https://api.bitbucket.org/notexist"> <testcase name="Request executed successfully">
<failure type="AssertionFailure">Response status is not 200
It treated as successful but clearly contains one failure.
Also, I created PoC repo with pipeline execution:
Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster ! While we’re all excited about the new improvements to Bitbucket ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events