Skip to content

beforeAll on suite/file level and global beforeAll #212

Open
@denblackstache

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions