orbit-qa-mutation

Mutate PHP code and verify test suite failures with Infection.

2|1|Updated Apr 20, 2026
One-click install
npx skills add https://github.com/adityaarsharma/orbit --skill orbit-qa-mutation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: orbit-qa-mutation
Source: https://github.com/adityaarsharma/orbit/tree/main/skills/orbit-qa-mutation
Command: npx skills add https://github.com/adityaarsharma/orbit --skill orbit-qa-mutation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires infection, and includes scripts (resource) components.

What problem does it solve?

This Skill identifies gaps in test coverage by mutating code and checking if tests fail, ensuring better quality and reliability of tests.

Core Features & Use Cases

  • Mutation Testing: Deliberately breaks code and checks if tests fail to identify untested bugs.
  • PHP Support: Specifically designed for PHP applications, enhancing test quality for PHP codebases.
  • Use Case: When you want to ensure your tests are robust and catch more bugs, especially for complex PHP applications.

Quick Start

Run mutation testing on your PHP project with the command: vendor/bin/infection --threads=4.

Frequently Asked Questions about orbit-qa-mutation

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

FAQPage Schema
How does mutation testing improve PHP test quality?

Mutation testing improves PHP test quality by deliberately modifying code to introduce bugs and verifying if the test suite fails. It exposes untested logic gaps that standard code coverage metrics often miss.

How do I run mutation testing on my PHP codebase?

You can run mutation testing on your PHP codebase by executing the Infection tool via the command line, such as `vendor/bin/infection --threads=4`, to mutate code and verify test suite failure.

What is the best way to find untested bugs in PHP applications?

The best way to find untested bugs in PHP applications is mutation testing. It deliberately breaks code and checks if tests fail, ensuring better quality and reliability of your test suite.

Can I use mutation testing if I only have standard code coverage?

Yes, you can use mutation testing alongside standard code coverage. While coverage shows executed lines, mutation testing verifies test logic by breaking code to check if tests actually fail.

Why does mutation testing fail to catch some bugs in my PHP tests?

Mutation testing fails to catch bugs when your test suite does not assert the correct behavior. If a test passes despite a mutation, it indicates your tests lack the assertions to detect that specific bug.