Skip to content

Expecting an event not to be generated #10

Description

@rhyslbw

Since we switched to containArrayOfStructs in the expect method, it's now not possible to check that an event is not generated. I'm thinking we should just provide an option when declaring the test as either 'contains' or 'matches', as really since i've started thinking about these integration tests as testing the whole bounded context, I do want to assert the exact array of events generated are expected. I'd also vote for that to return as the default behaviour, with the contains mode as the option. thoughts?

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