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

Before- and after-test hooks #112

Open
mikekeke opened this issue Aug 15, 2022 · 0 comments
Open

Before- and after-test hooks #112

mikekeke opened this issue Aug 15, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@mikekeke
Copy link
Collaborator

Tasty-putip framework enhancement proposed by @TotallyNotChase.
Idea is to provide integration hooks that could be run before and after test group execution. The key feature this hooks is the ability to span through several test cases. For example, beforeAll would be a function that takes a setup function, and a test group, it runs that setup before any tests in the test group, obtains the result and makes it available for each test in the test group.

Current implementation can be checked out here:
https://github.com/bladyjoker/plutip/tree/integration-hooks
Most of related changes are in Test.Plutip.Contract, Test.Plutip.LocalCluster, and Test.Plutip.Contract.Types.

@mikekeke mikekeke added the enhancement New feature or request label Aug 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant