How to generate reports in Behave-Python?

前端 未结 5 989
野趣味
野趣味 2020-12-17 03:35

For Java there are external report generation tools like extent-report,testNG. The Junit produces the xml format output for individual feature file. To get a detailed report

5条回答
  •  無奈伤痛
    2020-12-17 03:57

    Because my automations which using behave are all running on Jenkins so I can use the Jenkins plugin to display my junit report.

    I think this question might help you: How can I generate an HTML report for Junit results?

    You can use your junit result from behave and follow some of the top answers in this question.

    BTW, if you would like to use jenkins and if you need 'good-looking' html report of behave, I would suggust you to make behave generating json output for you and display the json output using reporter of cucumber.

提交回复
热议问题