Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add failure-exit-code option to customize exit code on test failures #948

Closed
hatsu38 opened this issue Apr 23, 2024 · 0 comments · Fixed by #949
Closed

Add failure-exit-code option to customize exit code on test failures #948

hatsu38 opened this issue Apr 23, 2024 · 0 comments · Fixed by #949

Comments

@hatsu38
Copy link
Contributor

hatsu38 commented Apr 23, 2024

Feature Request

I would like to propose the addition of a failure-exit-code option, similar to what is available in RSpec. This option would allow users to specify the exit code that the test suite should return upon failing tests.

Use Case

The main motivation for this feature is to allow the test suite to exit with a code of 0 even when some tests fail. This can be particularly useful in certain CI environments where a non-zero exit code typically indicates a more severe problem than test failures, or where the build should proceed regardless of test results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant