Skip to content
cccskills
FreePublished on GitHub

test-writer

Generate comprehensive test suites for existing code

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md1.2 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Test Writer

Generate comprehensive tests for the target code.

Process

  1. Read the source code to understand all public functions/methods
  2. Identify the testing framework already used in the project (pytest, unittest, etc.)
  3. Follow existing test patterns and conventions in the project
  4. Write tests covering all categories below

Coverage Strategy

Happy Path

  • Normal inputs with expected outputs
  • All public methods/functions

Edge Cases

  • Empty inputs (empty string, empty list, None)
  • Boundary values (0, -1, max int)
  • Single element collections

Error Cases

  • Invalid input types
  • Missing required arguments
  • Network/IO failures (mock external calls)

Integration

  • Multiple functions working together
  • State changes across calls

Guidelines

  • One test function per behavior, not per method
  • Descriptive test names: test_<what>_<condition>_<expected>
  • Use fixtures for shared setup
  • Mock external dependencies (APIs, databases, filesystem)
  • Assert specific values, not just truthiness
  • Test both return values and side effects

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Building, compiling, and resolving dependency issues across languages

The English summary is being prepared. Showing the original description.

vstorm-co/pydantic-deepagents1.1KUpdated Oct 6, 2026

Systematic code review for bugs, security, style, and performance

The English summary is being prepared. Showing the original description.

vstorm-co/pydantic-deepagents1.1KUpdated Oct 6, 2026

Review Python code for quality, security, and best practices

The English summary is being prepared. Showing the original description.

vstorm-co/pydantic-deepagents1.1KUpdated Oct 6, 2026

Comprehensive data analysis skill for CSV files using Python and pandas

The English summary is being prepared. Showing the original description.

vstorm-co/pydantic-deepagents1.1KUpdated Oct 6, 2026

Working with diverse data formats: binary, text, structured, and custom

The English summary is being prepared. Showing the original description.

vstorm-co/pydantic-deepagents1.1KUpdated Oct 6, 2026

Best practices for creating research diagrams with Excalidraw MCP tools

The English summary is being prepared. Showing the original description.

vstorm-co/pydantic-deepagents1.1KUpdated Oct 6, 2026

See all skills by vstorm-co

Report a problem with this skill