Reputation: 201
I have html report installed for pytest.
It was working fine until one day this error was thrown
pytest: error: unrecognized arguments: --html=report.html
Upvotes: 20
Views: 20648
Reputation: 6061
Use pip list
to check if you have pytest-html
installed. If not, install it using pip install pytest-html
.
pytest-html is a plugin for pytest, not part of pytest library.
Upvotes: 30
Reputation: 41
Please add pytest-html package from pycharm.
Make sure you have already installed plugin for html report.
Upvotes: 4