Skip to content

New --set-exit-if-fail option #2162

@FMorschel

Description

@FMorschel

I'd like to propose a --set-exit-if-fail option for the dart test.

The name is coming from the dart format that already has an --set-exit-if-changed option.

This option would simply exit if any test fails. My use case for this would be running it inside a git hook, where I simply want to warn the development team if any test fails so they can run all and fix what is needed.

If #2161 could be accomplished as well or similar issues, it would be really helpful to only show the exact test that failed first, no need for all the rest.

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