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

beforeAll on suite/file level and global beforeAll #212

Open
denblackstache opened this issue Aug 10, 2018 · 0 comments
Open

beforeAll on suite/file level and global beforeAll #212

denblackstache opened this issue Aug 10, 2018 · 0 comments

Comments

@denblackstache
Copy link

denblackstache commented Aug 10, 2018

Is it possible to implement these with current API and add it to current DSL?

beforeAll
Runs a function before any of the tests in this file run.
Example in Jest https://jestjs.io/docs/en/setup-teardown#one-time-setup

Repeating Setup For Many Tests
Run setup for each test, for ex. to cleanup database and cache storage.
So it's a global beforeEach.
Example in Jest https://jestjs.io/docs/en/setup-teardown#repeating-setup-for-many-tests

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

No branches or pull requests

1 participant