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

forc-test should exit with non-zero status if there are failing tests #4416

Closed
kayagokalp opened this issue Apr 10, 2023 · 0 comments · Fixed by #4417
Closed

forc-test should exit with non-zero status if there are failing tests #4416

kayagokalp opened this issue Apr 10, 2023 · 0 comments · Fixed by #4417
Assignees
Labels
bug Something isn't working forc forc-test Everything related to the `forc-test` lib and `forc test` command.

Comments

@kayagokalp
Copy link
Member

related to/ caused #4409.

cargo exists with status code of 101 if a test fails. We should do something similiar and provide a non-zero status code if some tests are failing when forc test is executed.

@kayagokalp kayagokalp added bug Something isn't working forc forc-test Everything related to the `forc-test` lib and `forc test` command. labels Apr 10, 2023
@kayagokalp kayagokalp self-assigned this Apr 10, 2023
@kayagokalp kayagokalp changed the title forc-test should output non-zero exit status if some tests are failing forc-test should exit with non-zero status if there are failing tests Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working forc forc-test Everything related to the `forc-test` lib and `forc test` command.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant