Skip to content
aj-geddes avatar

Test Data Generation

Reusable factories, fixtures, and builders that generate realistic, consistent test data for automated tests.

CCM score
42 of 100
skills.sh installs
506
GitHub stars
396
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers test data for integration tests, dev databases, seed data, and edge-case and boundary values
  • Includes JavaScript factory examples built on @faker-js/faker, with overridable defaults and nested address objects
  • Provides reference guides on factory, builder, and fixture patterns plus realistic data generation
  • Enforces deterministic data where possible, unique IDs and emails, and cleanup of generated records

Install

$ npx -y skills add aj-geddes/useful-ai-prompts --skill test-data-generation -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Test Data Generation

Table of Contents

Overview

Test data generation creates realistic, consistent, and maintainable test data for automated testing. Well-designed test data reduces test brittleness, improves readability, and makes it easier to create diverse test scenarios.

When to Use

  • Creating fixtures for integration tests
  • Generating fake data for development databases
  • Building test data with complex relationships
  • Creating realistic user inputs for testing
  • Seeding test databases
  • Generating edge cases and boundary values
  • Building reusable test data factories

Quick Start

Minimal working example:

// tests/factories/userFactory.js
const { faker } = require("@faker-js/faker");

Details

Repository
github.com/aj-geddes/useful-ai-prompts
Category
Testing & QA
First seen
Jun 3, 2026

Questions

What is test-data-generation?

test-data-generation is an agent skill listed on Claude Marketplaces in the Testing & QA category. The listing describes test-data-generation like this: Generate realistic, consistent test data using factories, fixtures, and fake data libraries.

How do I install test-data-generation?

Run npx -y skills add aj-geddes/useful-ai-prompts --skill test-data-generation -y in a project to install test-data-generation. After that, the agent can use test-data-generation in that project.

Which category is test-data-generation in?

test-data-generation is in the Testing & QA category on Claude Marketplaces. Other listings in that category next to test-data-generation include tdd, migrate-to-shoehorn and test-driven-development.

Where is the source code of test-data-generation?

The source code of test-data-generation is on GitHub at https://github.com/aj-geddes/useful-ai-prompts. The aj-geddes account on GitHub publishes test-data-generation.

More from aj-geddes/useful-ai-prompts

All 258

Similar to Test Data Generation

More Testing & QA