Skip to content Skip to sidebar Skip to footer

Python3 HTMLTestRunner Not Generating Report

I'm giving it a try to Selenium+Python and after having researched a little bit about a nice way to generate a report I run into 'HTMLTestRunner', the thing is that I've looked for

Solution 1:

You can't run Unittest in your program. It will not execute main part. Just edit configuration to run your script.

like this: From the Run menu > Run > edit configuration > select/add ScriptName.py above Python instead of Unittests in ScriptName.py

reference: pycharm-wont-allow-to-run-a-file-shows-run-unittest-option-only


Post a Comment for "Python3 HTMLTestRunner Not Generating Report"