Skip to content

Allow pytest to exit with status 0 if even if there are failing tests #1969

Closed
@mattkatz

Description

@mattkatz

I'm using Bamboo as my build system.
It can consume the junit style output that pytest can provide.
When pytest executes, it exists with a non-zero status if it finds any violation.

Bamboo interprets this as a build error and stops the build - which prevents the junit xml from being read. Is there a way to let pytest exit zero so that my build system can parse xml and let me know about errors in a pretty way?

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: questiongeneral question, might be closed after 2 weeks of inactivity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions