Skip to content
CommandImported

add-mutation-testing

Setup comprehensive mutation testing with framework selection and CI integration

Imported description, not reviewed yet

This item came from its original repository and was only scanned automatically; no editor has written an Arabic description for it yet. Read its content yourself before you rely on it. This page is not indexed by search engines until it is reviewed.

Download

Files: 1 · Size: 3.6 KB

Download the ZIP

The file carries the license of the original source.

Install

After downloading, run the command in a terminal. unzip asks before it replaces any file that is there.

  • For this project

    It goes in: .claude/commands/

    mkdir -p .claude/commands && unzip ~/Downloads/add-mutation-testing.zip -d .claude/commands

  • For your account on the whole machine

    It goes in: ~/.claude/commands/

    mkdir -p ~/.claude/commands && unzip ~/Downloads/add-mutation-testing.zip -d ~/.claude/commands

Instructions

Add Mutation Testing

Setup mutation testing framework with quality metrics and CI integration: $ARGUMENTS

Current Testing Context

  • Language: !find . -name "*.js" -o -name "*.ts" | head -1 >/dev/null && echo "JavaScript/TypeScript" || find . -name "*.py" | head -1 >/dev/null && echo "Python" || find . -name "*.java" | head -1 >/dev/null && echo "Java" || echo "Multi-language"
  • Test coverage: !find . -name "coverage" -o -name ".nyc_output" | head -1 || echo "No coverage data"
  • Test framework: !grep -l "jest\\|mocha\\|pytest\\|junit" package.json pom.xml setup.py 2>/dev/null | head -1 || echo "Detect from tests"
  • CI system: !find . -name ".github" -o -name ".gitlab-ci.yml" -o -name "Jenkinsfile" | head -1 || echo "No CI detected"

Task

Implement comprehensive mutation testing with framework optimization and quality gates:

Language Focus: Use $ARGUMENTS to specify JavaScript, Java, Python, Rust, Go, C#, or auto-detect from codebase

Mutation Testing Framework:

  1. Tool Selection & Setup - Choose framework (Stryker, PIT, mutmut, cargo-mutants), install dependencies, configure basic settings, validate installation
  2. Mutation Operator Configuration - Configure arithmetic operators, relational operators, logical operators, conditional boundaries, statement mutations
  3. Performance Optimization - Setup parallel execution, configure incremental testing, optimize file filtering, implement caching strategies
  4. Quality Metrics - Configure mutation score calculation, setup survival analysis, implement threshold enforcement, track effectiveness trends
  5. CI/CD Integration - Automate execution triggers, configure performance monitoring, setup result reporting, implement deployment gates
  6. Result Analysis - Setup visualization dashboards, configure surviving mutant analysis, implement remediation workflows, track regression patterns

Advanced Features: Selective mutation testing, performance profiling, automated test improvement suggestions, mutation trend analysis, quality gate integration.

Framework Support: Language-specific optimizations, tool ecosystem integration, performance tuning, reporting customization.

Output: Complete mutation testing setup with configured framework, CI integration, quality thresholds, and analysis workflows.

Files

  • LICENSE1 KB
  • add-mutation-testing.md2.5 KB

What the automatic scan found

We scanned the files automatically when they were imported. This is what the scan pointed at. It does not mean the item is harmful, and it does not mean it is safe: read it yourself.

  • Needs a lookAllowed tools with no limits

    In file cli-tool/components/commands/testing/add-mutation-testing.md

Comments (0)

No comments yet. Be the first.

Sign in to comment. Commenting comes at level 1 (Member).

Report

Similar items

  • CommandImported

    add-property-based-testing

    Implement property-based testing with framework selection and invariant identification

    MITFiles: 1

  • CommandImported

    ai-review

    Run an AI-assisted code review that combines static analysis tools with AI review of security, performance, and architecture

    MITFiles: 1

  • CommandImported

    code-permutation-tester

    Test multiple code variations through simulation before implementation with quality gates and performance prediction.

    MITFiles: 1

  • CommandImported

    create-feature

    Scaffold new feature with boilerplate code, tests, and documentation

    MITFiles: 1

  • CommandImported

    decision-quality-analyzer

    Analyze team decision quality with bias detection, scenario testing, and process improvement recommendations

    MITFiles: 1

  • CommandImported

    digital-twin-creator

    Create calibrated digital twins with real-world validation, scenario testing, and decision optimization

    MITFiles: 1