Skip to content
This repository has been archived by the owner on May 13, 2022. It is now read-only.

New test hooks: before_test, before_each, after_each, after_test #227

Open
luciano-renzi opened this issue Sep 30, 2021 · 0 comments
Open
Assignees
Labels
Milestone

Comments

@luciano-renzi
Copy link
Member

There are 4 new test hook functions that can be defined in a test file:

  • before_test: runs at the beginning of a test file, replaces setup
  • before_each: runs before each test function
  • after_each: runs after each test function
  • after_test: runs allways at the end of a test file, replaces teardown
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant