Skip to content

Support --fail-if-no-tests flagΒ #2684

@mpkorstanje

Description

@mpkorstanje

πŸ€” What's the problem you're trying to solve?

While the empty test suite passes by definition, when running tests in CI all tests may for one reason or another be filtered out. This may be undesirable when the expectation there is at least one test executed.

✨ What's your proposed solution?

Add an --fail-if-no-tests option for the CLI and exit with 2 if no pickles were executed.

πŸ“š Any additional context?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions