test-generation

Generate unit, integration, and end-to-end tests with mocks and assertions.

Updated Feb 16, 2026
One-click install
npx skills add https://github.com/Fivents/one-id --skill test-generation-fivents
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-generation
Source: https://github.com/Fivents/one-id/tree/main/.claude/skills/test-generation
Command: npx skills add https://github.com/Fivents/one-id --skill test-generation-fivents

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It reduces manual effort and brittle test suites by producing comprehensive unit, integration, and end-to-end tests that ensure correctness, coverage, and deterministic behavior across codebases.

Core Features & Use Cases

  • Automated unit tests that isolate functions and mock dependencies to validate expected behavior and edge conditions.
  • Integration tests that exercise database and service interactions to catch integration regressions.
  • End-to-end tests that simulate real user flows to validate high-level scenarios such as check-in by face, QR, or code.
  • Use Case: Generate tests for an event check-in flow covering valid face → success, invalid face → denied, and fallback QR/code paths.

Quick Start

Ask the skill to generate unit, integration, and e2e tests for the check-in module covering success, edge, and failure cases.

Frequently Asked Questions about test-generation

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

FAQPage Schema
How do I generate unit tests that mock external dependencies automatically?

Automated unit test generation isolates functions and mocks external dependencies to validate expected behavior and edge conditions, producing deterministic test cases with clear assertions and preventing brittle test suites.

What's the best way to create integration tests for service interactions?

The best way to create integration tests is generating test suites that exercise database and service interactions, catching integration regressions while ensuring deterministic behavior across your codebase.

Can I generate end-to-end tests that simulate real user flows?

Yes, you can generate end-to-end tests that simulate real user flows to validate high-level scenarios, such as event check-in by face, QR, or code, covering success, edge, and failure cases.

How do I write deterministic tests that avoid external network calls?

Writing deterministic tests involves generating test cases with clear assertions and mocks for external dependencies, deliberately avoiding external network calls to ensure reliable and repeatable test suite execution.

Does automated test generation work for complex event check-in flows?

Yes, automated test generation works for event check-in flows by producing tests that cover valid face to success, invalid face to denied, and fallback QR or code paths across unit, integration, and e2e scenarios.