test-data-generation

Generate deterministic test data with Bogus, builders, and ABP seeders.

24|5|Updated Nov 28, 2025
One-click install
npx skills add https://github.com/thapaliyabikendra/ai-artifacts --skill test-data-generation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-data-generation
Source: https://github.com/thapaliyabikendra/ai-artifacts/tree/main/.claude/skills/test-data-generation
Command: npx skills add https://github.com/thapaliyabikendra/ai-artifacts --skill test-data-generation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides patterns for generating realistic and consistent test data, solving the challenge of creating diverse and complex datasets for testing. It streamlines the process of populating databases, building test fixtures, and simulating real-world scenarios, ensuring comprehensive test coverage.

Core Features & Use Cases

  • Bogus Faker: Configures Bogus for generating random, realistic data for entities like Patient, Doctor, and Appointment, including relationships and conditional rules.
  • Test Builder Pattern: Implements fluent builders for creating complex test objects and DTOs with specific properties, making tests readable and focused.
  • ABP Data Seeders: Demonstrates how to use IDataSeedContributor for deterministic test data seeding and bulk data generation for performance tests.
  • Use Case: A QA engineer needs to test an application with 10,000 unique patient records. Using the Bogus Faker and BulkTestDataSeeder, they quickly generate and seed the database with realistic data for performance testing.

Quick Start

Generate 5 fake 'Patient' objects using the Bogus PatientFaker, ensuring each has a unique email and a realistic date of birth.

Frequently Asked Questions about test-data-generation

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

FAQPage Schema
How do I generate realistic test data for database seeding?

Use Bogus Faker to generate realistic test data with relationships and rules, then seed your database using ABP's IDataSeedContributor for deterministic, reproducible datasets across your application.

Can I create complex test objects with a fluent builder pattern?

Yes, the Test Builder Pattern implements fluent builders for constructing complex test objects and DTOs with specific properties, making tests readable and focused without manual object assembly.

How do I generate large volumes of test data for performance testing?

Use the BulkTestDataSeeder with Bogus Faker to quickly generate and populate thousands of unique records with realistic data, enabling performance testing at scale without manual fixture creation.

What's the best way to ensure test data is consistent and reproducible?

Seed-based randomness control in Bogus combined with ABP seeders produces deterministic output, ensuring the same test data is generated across runs for reproducible testing and debugging.

Does this approach support locale customization for international test scenarios?

Yes, Bogus Faker supports locale customization, allowing you to generate realistic test data tailored to specific regions and languages for comprehensive international application testing.