write-tests

Generate and review test cases using boundary value analysis.

1|Updated Jan 2, 2013
One-click install
npx skills add https://github.com/mkiken/SettingFiles --skill write-tests-mkiken
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: write-tests
Source: https://github.com/mkiken/SettingFiles/tree/main/ai/claude/skills/write-tests
Command: npx skills add https://github.com/mkiken/SettingFiles --skill write-tests-mkiken

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of writing comprehensive tests for specified code, ensuring thorough coverage and user review for optimal test quality.

Core Features & Use Cases

  • Boundary Value Analysis: Generates test cases based on boundary values for numeric parameters.
  • Test Case Review: Allows users to review and confirm test cases before implementation.
  • Test Framework Detection: Automatically identifies the test framework and conventions used in the project.
  • Test Case Enumeration: Creates a comprehensive list of test cases covering normal, boundary, error, and state transition scenarios.
  • Test Implementation: Provides guidelines for implementing the confirmed test cases.
  • Use Case: Ideal for developers and QA engineers looking to streamline the test writing process for software applications.

Quick Start

Run the write-tests skill with the test target: 'write-tests path/to/my_function -- "additional notes"'

Frequently Asked Questions about write-tests

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

FAQPage Schema
How do I automate test case generation using boundary value analysis?

Automate test case generation by targeting specific code functions to produce boundary values, normal scenarios, and error states. The skill enumerates comprehensive test cases and allows interactive user review before final test implementation.

What programming languages and test frameworks are supported for automated test writing?

Automated test writing supports JavaScript, Python, Go, Rust, and other languages with common test frameworks. The skill automatically detects the specific test framework and conventions used in your project to generate appropriate cases.

How do I review generated test cases before they are implemented?

Review generated test cases through an interactive user review process. The skill enumerates normal, boundary, error, and state transition scenarios for confirmation, then provides guidelines for implementing the confirmed test cases.

Can I generate tests for existing code targets in my repository?

Generate tests for existing code targets by running the skill with a specified file path. You need knowledge of the target codebase and test framework, and can include additional notes to guide the test generation process.

What types of test scenarios are covered when automating test writing?

Automating test writing covers normal scenarios, boundary values for numeric parameters, error states, and state transitions. This ensures comprehensive test coverage by systematically enumerating edge cases and standard execution paths.