Documentation
Build a mock from your protocol
The guides cover package setup and the core call workflow. The generated API reference documents every public declaration in each library product.
Guides
Getting started
Add the package and adapter, generate a mock, record calls, and compare them with typed expectations.
Examples
Read focused examples based on the package’s compiled sample target.
API reference
Modules
Mocksmith
Macros, generated DSLs, matchers, captors, call history, reset scopes, and runtime types.
MocksmithCombine
Publisher controls for retained stubs that return Combine AnyPublisher values.
MocksmithTesting
Verification reporting and async expectations for Swift Testing.
MocksmithXCTest
Verification reporting and async expectations for XCTest.