generate-tests

Generate test files for Python, TypeScript, and JavaScript projects.

42|8|Updated Jan 25, 2026
One-click install
npx skills add https://github.com/sequenzia/agent-alchemy --skill generate-tests-sequenzia
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-tests
Source: https://github.com/sequenzia/agent-alchemy/tree/main/claude/tdd-tools/skills/generate-tests
Command: npx skills add https://github.com/sequenzia/agent-alchemy --skill generate-tests-sequenzia

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the creation of test files, ensuring code quality and reducing manual testing effort by generating tests from acceptance criteria or existing source code.

Core Features & Use Cases

  • Criteria-Driven Testing: Generates tests based on provided acceptance criteria from specs or tasks.
  • Code-Analysis Testing: Creates characterization tests by analyzing existing source code.
  • Framework Auto-Detection: Automatically detects the project's test framework (pytest, Jest, Vitest).
  • Use Case: When developing a new feature, provide the acceptance criteria, and this Skill will generate a complete set of failing tests, ready for implementation.

Quick Start

Use the generate-tests skill to create tests for the file 'src/utils.py'.

Frequently Asked Questions about generate-tests

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

FAQPage Schema
How do I generate tests from acceptance criteria for a new feature?

Criteria-driven mode generates tests by parsing provided spec files or task IDs containing acceptance criteria. It produces a complete set of failing tests for your new feature, ensuring implementation aligns directly with the specified requirements.

Can I automatically create characterization tests from existing source code?

Yes, you can automatically create characterization tests from existing source code using the code-analysis mode. By providing file paths, the system analyzes the code behavior and generates corresponding tests to capture the current logic before refactoring.

Does this test generation tool support both Python and TypeScript projects?

Yes, the test generation tool fully supports Python, TypeScript, and JavaScript projects. It automatically detects the project's test framework, generating appropriate pytest, Jest, or Vitest test files based on your specific environment.

How are test files generated efficiently for large codebases?

Test files are generated efficiently for large codebases by spawning parallel test-writer agents. This concurrent processing approach analyzes multiple files or acceptance criteria simultaneously, significantly reducing the total time required to produce tests.

What is the best way to start practicing TDD with automated test generation?

The best way to start practicing TDD with automated test generation is to provide your acceptance criteria in a spec file. The system generates failing tests based on those specs, allowing you to write implementation code until the tests pass.