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

feat: fail tests immediately if NoError() fails #168

Merged
merged 1 commit into from
Jun 26, 2023

Conversation

theseion
Copy link
Collaborator

The testify test suite offers a Required() context that will fail immediately on failure. For NoError() we want assertions to always fail immediately because continuing doesn't make sense and just spams the log.

The testify test suite offers a `Required()` context that will fail
immediately on failure. For `NoError()` we want assertions to always
fail immediately because continuing doesn't make sense and just spams
the log.
@theseion theseion requested a review from fzipi June 25, 2023 06:15
@fzipi fzipi merged commit 771b06a into coreruleset:main Jun 26, 2023
3 checks passed
@theseion theseion deleted the fast-fail-on-noerror-assertions branch June 27, 2023 04:47
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 this pull request may close these issues.

2 participants