Skip to content
Back to skills

Test Fixtures

ASecurity

Use when tests need sample data: builds small factories and fixtures that create valid objects with sensible defaults, lets each test override only the fields it cares about, and keeps shared fixtures free of state that leaks between tests.

  • 1,567 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 26, 2026
ai-agentsdatabase

Security analysis

A100/100

Scanned November 26, 2026

npx -y skills add autonomous-ai/openharness --skill test-fixtures --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Test Fixtures?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Test Fixtures
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/autonomous-ai-test-fixtures/badge)](https://www.skillsdirectory.com/skills/autonomous-ai-test-fixtures)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: test-fixtures
description: "Use when tests need sample data: builds small factories and fixtures that create valid objects with sensible defaults, lets each test override only the fields it cares about, and keeps shared fixtures free of state that leaks between tests."
---

Write one factory per model that returns a valid object with defaults, and let a test pass the fields it checks. Prefer building data in the test over large shared fixture files. Reset databases and clocks between tests, and give generated ids a fixed seed so failures reproduce.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.