pytest-html
pytest-html copied to clipboard
How add class name to Captured log call in html report
When try parse the HTML report to get some information about logging All information about the test is put the same div class = "log"
How I can separate the output test failed and exit logging? Exemplo: div class="stdout" -----------------------------Captured stdout setup------------------------------ div class="stderr" -----------------------------Captured stderr setup------------------------------ div class="stdout" ------------------------------Captured stdout call------------------------------ div class="stdout" -------------------------------Captured log call--------------------------------
Command: -v -o log_cli=True --html=~/tests/Reports/android.html --self-contained-html
Not sure I understand what you're trying to accomplish. What's the use case?