# Testing Without Mocks

> Makes code testable with the Nullables pattern instead of mocking libraries, for fast and reliable unit tests.

- Page: https://youraiskill.com/skill/lexler-nullables
- What it does: Nullables — testing technique alternative to using mocking libraries. Use when writing unit tests, when code touches external I/O or state (HTTP, databases, files, clock, random) anywhere in its dependency chain, when making a system testable, or when tests are slow or flaky.
- Niches: testing, coding
- Licence: Apache-2.0
- Status: Checked: open licence, author credited, passed the YourAISkill safety scan. Can be added to a paid pack.
- Contents: instructions and reference files only (9 files)

To add it, see https://youraiskill.com/guides/how-to-add-a-skill-to-claude
