System Documentation

What problem does it solve?

Nullables provide production-like wrappers that run real code with controlled infrastructure I/O, letting tests exercise logic without brittle mocks and while keeping tests fast and deterministic.

Core Features & Use Cases

  • Sociable tests: run real code with nullified infra
  • Configurable responses: configure external system behavior at the caller's abstraction level
  • Output Tracking: observe what was written without performing real I/O
  • Embedded Stubs: embed minimal third-party behavior alongside wrappers
  • Use cases: testing code that interacts with HTTP, files, databases, clocks, and randomness, and migration from mocks

Quick Start

  1. Create a Nullable for a dependency using createNull()
  2. Use trackOutput() to observe results
  3. Run tests and verify outcomes

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: nullables
Download link: https://github.com/lexler/skill-factory/archive/main.zip#nullables

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.