Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does Atlassian Bamboo recognise python pytest reports [closed]

I have some Integration tests written in Python3 using pytest. I am using pytest-html to generate an html report from it. How can I make Bamboo recognize/show this report.

like image 928
Rahul Avatar asked Oct 23 '25 18:10

Rahul


1 Answers

If you produce the html report in bamboo solely for the purpose of continuous integration, you could export the results of your tests to xml instead via:

pytest yourpath --junitxml=..\pytest.xml

and run the JUnit parser plugin from bamboo on pytest.xml.

like image 102
Campi Avatar answered Oct 26 '25 08:10

Campi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!