test-domain

Generate Java domain-layer test fixtures and unit tests for aggregates, value objects, entities, and events.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/ryu-qqq/conventionHub --skill test-domain-ryu-qqq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-domain
Source: https://github.com/ryu-qqq/conventionHub/tree/main/.claude/skills/test-domain
Command: npx skills add https://github.com/ryu-qqq/conventionHub --skill test-domain-ryu-qqq

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Domain-layer testing often involves repetitive boilerplate across aggregates, value objects, entities, and domain events. This skill automatically generates test fixtures and unit tests to speed up development and ensure consistency.

Core Features & Use Cases

  • Generates testFixtures/{Domain}Fixtures.java and fixture data for domain models.
  • Creates tests under test/aggregate, test/vo, test/id, and test/event for each domain.
  • Supports end-to-end domain test generation from a single domain name (e.g., seller, brand, category, order).
  • Example use case: quickly scaffold tests for a new aggregate and its related value objects.

Quick Start

Invoke the domain-test skill with a domain name to generate the corresponding tests and fixtures.

Frequently Asked Questions about test-domain

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I auto-generate domain-layer tests and fixtures for Java aggregates?

You can auto-generate Java domain-layer tests by providing a single domain name, which produces fixture data and test classes for aggregates, value objects, entities, and domain events.

What is the best way to scaffold test classes for domain events and value objects?

Scaffolding test classes for domain events and value objects is best handled by automated generation, which creates DomainEventTest.java and value object tests from a single domain name.

Can I run generated domain tests with Gradle?

Yes, generated domain tests can be executed with Gradle. The produced test files integrate directly into your build pipeline to run domain-layer unit tests seamlessly.

Does domain test generation support multiple packages like testFixtures, test/id, and test/event?

Yes, domain test generation supports multiple packages including testFixtures, test/aggregate, test/vo, test/id, and test/event, organizing generated test files and DomainFixtures.java across the domain structure.

Why do I need automated test generation for Java domain models?

Automated test generation is needed for Java domain models because domain-layer testing requires repetitive boilerplate across aggregates and value objects; automation ensures consistency and accelerates development.