Skip to content

before/after Each does not run around each invocation of a test #73

@hoangtranwork

Description

@hoangtranwork

Demonstration code: https://gist.github.com/hoangtranwork/8166d7c7d1202d3113ddb835f82f014e

If I understand correctly, if we set invocation = x (x > 0) as well as overriding the beforeEach/afterEach hook, then those hooks should run around each invocation (of the same test), but as I tested with the code above, it doesn't.

So is this a bug or do I misunderstand the feature?

Metadata

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