Skip to content

test success when all tests were filtered outΒ #7943

@grosser

Description

@grosser

What is the underlying problem you're trying to solve?

opa test file.rego --run whoops

Describe the ideal solution

either:

  • fails when all tests were filtered out
  • add an option for --fail-on-empty

Additional Context

for humans that might be obvious, but when either outputting coverage or json or using in some other automated way it is not obvious that no tests were run

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions