Skip to content

Change --junit-xml=path to accept directories or change help text. #2089

@decentral1se

Description

@decentral1se

I was working on #595 and ran into this.

When running:

$ pytest --junit-xml=.

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions