You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add WebApi integration tool like in the testing projections article. It should be:
using given/when/then pattern
take events in given and supertest request in when,
Then can tests events like command handling tests, but also should allow to doqueries etc,
It should enable testing idempotency and optimistic concurrency, so running requests twice.
in the future, it could be testing OTel spans as Martin Thwaites shown in his talks,
This is not perfect with an in-memory event store but should be fine for business logic and integration tests in the ports/adapters style.
The text was updated successfully, but these errors were encountered:
oskardudycz
changed the title
Add webapi integration tool
Add webapi integration testing tool
Feb 23, 2024
Add WebApi integration tool like in the testing projections article. It should be:
It should enable testing idempotency and optimistic concurrency, so running requests twice.
The text was updated successfully, but these errors were encountered: