Skip to content

Rework behat context #27

Description

@Arminek
Given I have an empty cart
When I add a product to the cart
Then the product should be added to the cart

to test command side of the aggregate.

Given I have an empty cart
And I added an product to the cart
When I ask for the cart's total
Then the cart's total should be $500

to test read model (query side).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions