Skip to content

support assert.require to fail test scenario - #30

Merged
jaypipes merged 1 commit into
gdt-dev:mainfrom
jaypipes:assert-require
Oct 7, 2025
Merged

support assert.require to fail test scenario#30
jaypipes merged 1 commit into
gdt-dev:mainfrom
jaypipes:assert-require

Conversation

@jaypipes

@jaypipes jaypipes commented Oct 7, 2025

Copy link
Copy Markdown
Member

Adds support for the assert.require field which contains a boolean value that instructs the gdt scenario to exit with a failure when an assertion fails. This is equivalent to the difference between testify assert and testify require or the Go testing.T.Error versus testing.T.Fatal.

Issue gdt-dev/gdt#66

Adds support for the `assert.require` field which contains a boolean
value that instructs the gdt scenario to exit with a failure when an
assertion fails. This is equivalent to the difference between testify
assert and testify require or the Go testing.T.Error versus
testing.T.Fatal.

Issue gdt-dev/gdt#66

Signed-off-by: Jay Pipes <jaypipes@gmail.com>
@jaypipes
jaypipes merged commit 6424d0b into gdt-dev:main Oct 7, 2025
7 checks passed
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