Cookbook¶
Recipes, not lessons — a fast, copy/paste answer to one narrow problem, without reading a full guide. Each page below is short and self-contained: working code first, minimal surrounding context. If you want the why behind a recipe's pattern, every page links back to the relevant Concept or How-to Guide.
This section is expected to become one of the largest on the site over time — plausibly 50-100+ recipes in the near term. At this size, a flat alphabetical list is the whole navigation; tagging/subcategorization is a deliberately deferred decision (see docs/adr/0030-compono-documentation-architecture.md's Amendment 2) to be made once the list is actually large enough to need it, not guessed at now.
Recipes¶
- Compose a Substitute With One Method Stubbed
- Freeze a Shared HttpMessageHandler
- Generate a Realistic Email
- Override One Field Only for One Test
- Seed a Specific Failing Case for Reproduction
Next¶
- Never used Compono before? Start with Getting Started — recipes assume you've already seen a composed theory once, not that you've read Concepts.
- Want a full, realistic application instead of one narrow answer? → Samples.