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(tests): afterUnitTest function #8985

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

Conversation

yash-atreya
Copy link
Member

@yash-atreya yash-atreya commented Sep 30, 2024

Motivation

Builds upon #8106 to add afterUnitTest function to the Test interface. This enables users to perform cleanup/record tasks after running a unit test.

Solution

WIP

@zerosnacks
Copy link
Member

zerosnacks commented Sep 30, 2024

Related: #8983, I think we could consider using the tearDown terminology mirroring setUp

@yash-atreya
Copy link
Member Author

Related: #8983, I think we could consider using the tearDown terminology mirroring setUp

See #8106 (comment), we decided on having explicit naming

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

feat: add tearDown() method that is called at the end for each unit test for Test contract
2 participants