peridot
peridot copied to clipboard
beforeAll on suite/file level and global beforeAll
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