Skip to content

ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...] #12422

Answered by The-Compiler
kalebers asked this question in Q&A
Discussion options

You must be logged in to vote

The relevant part is this:

error: unrecognized arguments: --html=./tests/unit/report/unit_test_results.html

You're passing a --html option, but pytest does not have such an option.

Probably you're missing a plugin that implements it, most likely pytest-html.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kalebers
Comment options

Answer selected by The-Compiler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants