Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,10 @@ When an outgoing call matches no recorded mock, `--on-miss` decides what happens
keploy mock replay -c "pytest" --on-miss record
```

Add `--strict` to fail the run if any _recorded_ mock was **missed** (a dependency
contract drifted), even when the tests themselves passed.
Add `--strict` to fail the run if a call **missed** its recorded mock (a dependency
contract drifted), even when the tests themselves passed. A DNS lookup with no
recorded mock (Keploy answers it itself), or a connection whose client sent
nothing, does not fail it by itself.

## Per-test scoping (optional)

Expand Down
Loading