-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Description
Currently, we look at each matcher in a mock independently. However, they should be linked therefore when we have a mock with:
- Matching on a path (
/stream/json) - Matching on message contents (all messages valid json)
And another mock with:
- Matching on a path (
/stream/binary) - Matching on message contents (not json messages!)
We should be able to connect to /stream/binary and /stream/json with two different connect_async calls and then after we've picked which request it matches only check those mocks not the others.
This might just be as simple as when we run the request level mocks any that have a false instead of a true we don't retain and we pass in the passing ones to handle_socket and only check them (or pass a list of indexes 🤷 )
Metadata
Metadata
Assignees
Labels
No labels