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

New package 'must' to signal immediate/fatal termination of failed test cases #55

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

mdwhatcott
Copy link
Contributor

@mdwhatcott mdwhatcott commented Oct 6, 2023

This new package wraps the Should assertion functions, prepending a hard-coded string value in failure cases, which gunit (or any other consumer) can detect, thereby ending the current test case, presumably via *testing.T.Fatalf or some other similar mechanism. Corresponding PR for gunit: smarty/gunit#33

@mdwhatcott mdwhatcott changed the title New package 'must' signals that a failure immediately ends a test case. New package 'must' to signal immediate/fatal termination of failed test cases Oct 6, 2023
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.

None yet

1 participant