I want to get testng results and store them in variables, but there's no explanation what "testng parser" actually does and what I can do with it. I want to write a bash script and make use of the numbers of passed and failed tests. Is there a way to achieve this?
testng-results ignored="0" total="1" passed="0" failed="1" skipped="0"
@Eduardo Alvarenga This is not very helpful. The information about usage of JUnit Parser is as sparse as it is for Testng Parser. I'd like to know, how to actually extract the values from the test report xml (Imho this is the purpose of this plugin, or not?).
Sorry but Bambo will not export the TestNG results to a variable or text file. For that, you will have to run the equivalent testNG class manually via a Script task, write the results to a file and feed them back to Bamboo through an "Inject Bamboo variables" task.
Atlassian Support APAC
Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...
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