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

Introduce env.Environment.BeforeEachFeature and env.Environment.AfterEachFeature #37

Closed
vladimirvivien opened this issue Jul 28, 2021 · 0 comments · Fixed by #41
Closed

Comments

@vladimirvivien
Copy link
Contributor

After #36, it would be nice to introduce a pre- and post- operation hooks for feature tests named BeforeEachFeature and AfterEachFeature. These lifecycle hooks would get executed in the order shown

- env.Environment.Setup
- <TestFunction>
  - env.Environment.BeforeEachTest
  - env.Test(env.Environment.BeforeEachFeature <feature> env.Environment.AfterEachFeature)
  - env.Environment.AfterEachTest
- env.Environment.Finish
@vladimirvivien vladimirvivien changed the title Operations hook for pre- and post-Feature tests Introduce env.Environment.BeforeEachFeature and env.Environment.AfterEachFeature Jul 28, 2021
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 a pull request may close this issue.

1 participant