FPCUnit Testing Patterns

Community

Best practices for FPCUnit tests in Lazarus

Authordelphicleancode
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill standardizes and automates unit testing for FreePascal/Lazarus using FPCUnit, reducing boilerplate, preventing regressions, and enabling clean test fixtures, mocks, and integration tests.

Core Features & Use Cases

  • Standardized test fixtures and setup for domain, application, and infrastructure layers.
  • Mocking and fakes to isolate units under test.
  • Integration testing patterns with in-memory databases or simulated external services.

Quick Start

Create and run a FPCUnit-based test project following this skill's patterns to validate behavior.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: FPCUnit Testing Patterns
Download link: https://github.com/delphicleancode/lazarus-spec-kit/archive/main.zip#fpcunit-testing-patterns

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.