Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rework behat context #27

Open
Arminek opened this issue Feb 13, 2017 · 0 comments
Open

Rework behat context #27

Arminek opened this issue Feb 13, 2017 · 0 comments

Comments

@Arminek
Copy link
Owner

Arminek commented Feb 13, 2017

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant