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: add support for setup/cleanup functions during each test run #563

Merged

Conversation

fabioh8010
Copy link
Contributor

Summary

This PR adds the beforeEachRun and afterEachRun options for measureFunction, measureAsyncFunction and measureRenders functions, allowing to specify setup/cleanup functions during each test run.

Test plan

Unit tests were added to cover this feature.

@fabioh8010 fabioh8010 force-pushed the feature/setup-cleanup-functions branch from a1759f7 to 86579bd Compare March 11, 2025 18:33
Copy link
Member

@mdjastrzebski mdjastrzebski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good PR, Thank you! 🎉

@mdjastrzebski mdjastrzebski merged commit db535ea into callstack:main Mar 11, 2025
3 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.

2 participants