DUnitX Testing Patterns

Community

Structured DUnitX testing patterns for Delphi.

Authordelphicleancode
Version1.0.0
Installs0

System Documentation

What problem does it solve?

The DUnitX Testing Patterns guide helps Delphi teams organize and standardize their unit tests using the DUnitX framework, aligning tests with best practices for fixtures, mocks, and clean architecture.

Core Features & Use Cases

  • Structured test fixtures with Setup and TearDown to isolate test state.
  • Use of mocks and in-memory or lightweight repositories to validate service behavior without real dependencies.
  • Guidelines for naming tests (MethodName_Scenario_ExpectedBehavior), common assertions, and practical integration testing strategies, including SQLite-in-memory demos.

Quick Start

Create a DUnitX test project under tests/, implement a TestFixture with Setup/TearDown, and add representative tests following the naming conventions.

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: DUnitX Testing Patterns
Download link: https://github.com/delphicleancode/delphi-spec-kit/archive/main.zip#dunitx-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.