I was working on #595 and ran into this.
When running:
I receive a IsADirectoryError: [Errno 21] error.
What I need to pass to make this work is:
$ pytest --junit-xml=somefile
Could --junit-xml=. default to create some report file?
Otherwise, should the help text be altered to highlight that it must be a file name?