I use behave to run a set of e2e tests for my software, eg:
behave ./tests/ --tags=set123 --tags=-skip
When the process ends, a tests/results/
directory is created, plenty of results in the form of .xml
files which root element is <testsuite>
.
I'd like to have an static HTML report with the result. PyCharm have a nice button to get such report directly, but I wonder about how to get it from the command line. I mean, some way of processing the resulting .xml
files to render the HTML or (even better) to do it as result of the behave
command itself.
Any help, please? This seems to be conceptually easy but I haven't found any straighfoward solution googling out there...
EDIT: I know the Allure tool. However, it doesn't fit my purpose as it starts a web server to serve the report and I need an static HTML. I have adjusted the wording of the question to make it clearer.