testing

Generate and analyze tests across unit, property-based, mutation, and contract workflows.

Updated Aug 2, 2025
One-click install
npx skills add https://github.com/czer323/d3-item-salvager --skill testing-czer323
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing
Source: https://github.com/czer323/d3-item-salvager/tree/main/.claude/skills/testing
Command: npx skills add https://github.com/czer323/d3-item-salvager --skill testing-czer323

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generates test cases, creates mocks, identifies edge cases, analyzes coverage gaps, and supports property-based, mutation, and contract testing. Use when writing tests, improving coverage, detecting flaky tests, or implementing advanced testing strategies.

Core Features & Use Cases

  • Test Case Generation: Generate comprehensive test suites from code analysis.
  • Property-Based Testing: Integrate property-based testing with frameworks like fast-check and Hypothesis.
  • Mutation Testing: Assess test effectiveness by introducing controlled mutations.
  • Contract Testing: Validate API contracts and integration points across services.
  • Edge Case Analysis: Identify and cover boundary conditions and error paths.

Quick Start

Run the generator on your source file to produce initial test stubs.

Frequently Asked Questions about testing

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

FAQPage Schema
How do I generate test stubs for pytest and jest from existing source code?

Property-based testing validates functions against a wide range of generated inputs rather than specific examples. It integrates with fast-check and Hypothesis to identify edge cases and boundary conditions automatically across your test suite.

What is mutation testing and when should I use it to assess test effectiveness?

Mutation testing assesses test suite effectiveness by introducing controlled mutations into your source code. Use it to evaluate whether your existing tests detect these mutations, ensuring your suite is robust and catches actual regressions.

Can I use contract testing to validate API integration points across different services?

Contract testing validates API contracts and integration points across services. It ensures that different services communicate correctly by verifying that provider and consumer expectations match, preventing integration failures before deployment.

How do I diagnose flaky tests and analyze coverage gaps in my test suite?

You can diagnose flaky tests and analyze coverage gaps by applying automated test analysis workflows. The tool examines your test suite to identify unstable tests and pinpoint untested code paths, helping you improve overall coverage.

Does this test generation workflow support both Python and JavaScript projects?

Yes, this test generation workflow supports both Python and JavaScript projects. It parses Python and JavaScript/TypeScript sources, generating test stubs compatible with pytest, Jest, and Vitest frameworks accordingly.