Skip to content

Introduce beforeAll/afterAll module hooks? #893

@trentmwillis

Description

@trentmwillis

I'd like to propose adding in beforeAll/afterAll hooks to test modules. Similar to the functions of the same name in Jasmine or before/after in Mocha. It would be convenient to have a way to access the testing context at the start and end of a module on a case-by-case basis instead of just the sweeping moduleDone and moduleStart callbacks.

I apologize if this has been discussed before, couldn't seem to find any background on the matter.

cc @nathanhammond

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions