Skip to content

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.

1 participant