# Testing and dry-runs

> Prove winners, response bodies, state diffs, sequences, and failures without mutating live state.

- Canonical URL: https://dotmock.com/docs/guides/testing
- Capability status: Available
- Last verified: 2026-07-24

## Prerequisites
- A DotMock workspace you can access
- The API ID in $API_ID and its published runtime URL in $MOCK_URL when the example calls the mock

## In this guide
- Know what a dry-run guarantees
- Fix seed, clock, and state
- Cover the contract, not only 200
- Assert protocol-native details
- Run the application against the scenario
- Inspect near misses before broadening a matcher

## Verified boundaries
- Generic LLM CLI dry-runs are Planned; use provider routes and the LLM workspace tester for current LLM verification.

Read the canonical guide for its complete examples and expected results: https://dotmock.com/docs/guides/testing
