Change `--junit-xml=path` to accept directories or change help text. #2089
I was working on #595 and ran into this.
$ pytest --junit-xml=.
I receive a
What I need to pass to make this work is:
$ pytest --junit-xml=somefile
Otherwise, should the help text be altered to highlight that it must be a file name?
The text was updated successfully, but these errors were encountered:
I think we should warn the user that the option must be a filename and not an existing directory, similar that what was done in #2080.
The check would have to reside somewhere in