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

Change env.Environment.BeforeTest to env.Environment.BeforeEachTest #35

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

Change env.Environment.BeforeTest to env.Environment.BeforeEachTest #35

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

Comments

@vladimirvivien
Copy link
Contributor

Currently, the env.Environment method that registers pre-test callbacks is named BeforeTest. That name could be more descriptive to indicate the frequency at which that those operations, registered with the method, are executed during test execution.

By changing the name to BeforeEachTest test writers can clearly deduce when the test is executed during framework execution as shown in the following steps:

- env.Environment.Setup
- TestFunction
  - env.Environment.BeforeEachTest
  - env.Test(feature)
  - env.Environment.AfterEachTest
- env.Environment.Finish
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