Skip to content

Add support for always executing the tear down function of a test#50

Open
freeekanayaka wants to merge 2 commits into
nemequ:masterfrom
freeekanayaka:always-run-tear-down
Open

Add support for always executing the tear down function of a test#50
freeekanayaka wants to merge 2 commits into
nemequ:masterfrom
freeekanayaka:always-run-tear-down

Conversation

@freeekanayaka
Copy link
Copy Markdown

If munit is compiled with -DMUNIT_ALWAYS_TEAR_DOWN, then the tear down function
associated with a test will always be executed, even if a munit assertion in the
test function fails.

If munit is compiled with -DMUNIT_ALWAYS_TEAR_DOWN, then the tear down function
associated with a test will always be executed, even if a munit assertion in the
test function fails.
@jimkimball
Copy link
Copy Markdown

@freeekanayaka thank you for this! I incorporated it locally and it worked.

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