test-data-generation

Community

Generate realistic test data effortlessly.

Authorthapaliyabikendra
Version1.0.0
Installs0

System Documentation

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.

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: test-data-generation
Download link: https://github.com/thapaliyabikendra/ai-artifacts/archive/main.zip#test-data-generation

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