3

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.

Bhargav Rao
  • 50,140
  • 28
  • 121
  • 140
Rahul
  • 177
  • 1
  • 3
  • 12

1 Answers1

9

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.

Campi
  • 1,932
  • 1
  • 16
  • 21