Przejdź do treści
Biblioteka skilli
Programowanie · Testowanie

mutation-testing

/mutation-testing

Ocenia jakość testów modułów z logiką biznesową, narzędziami obliczeniowymi i maszynami stanów, sprawdzając przez mutation testing, czy faktycznie wykrywają defekty.

Licencja
MIT
Ostatnia zmiana repozytorium
06.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
2
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
2
Przestarzałość

Brak sygnałów. Repozytorium zmienione 06.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Ocenia jakość testów modułów z logiką biznesową, narzędziami obliczeniowymi i maszynami stanów, sprawdzając przez mutation testing, czy faktycznie wykrywają defekty.

Oryginalny opis (EN)

Use when evaluating test quality on modules containing business logic, calculation utilities, or state machines to determine whether the tests provide genuine defect detection.

Jak działa

  1. Quick Reference
  2. Check
  3. Fix
  4. Explain
  5. Code Review
Sekcje z nagłówków SKILL.md, w oryginale · 35 linii, 241 słów
Podgląd SKILL.md
---
name: mutation-testing
description: "Use when evaluating test quality on modules containing business logic, calculation utilities, or state machines to determine whether the tests provide genuine defect detection."
metadata:
  category: testing
  priority: medium
  difficulty: advanced
  estimatedTime: "120"
  source: frontendchecklist.io
  url: https://frontendchecklist.io/rules/testing/mutation-testing
---

# Use mutation testing to measure how well tests detect bugs

A codebase can have 90% line coverage and still ship critical bugs if tests only execute code without asserting meaningful outcomes. Mutation testing reveals these gaps by proving that your tests can distinguish correct code from subtly broken code — the standard that actually matters in production.

## Quick Reference

- Code coverage tells you which lines were executed; mutation score tells you which bugs were caught
- Stryker injects small code changes (mutations) and checks whether tests fail — if they don't, the tests are weak
- Aim for 80%+ mutation score on critical business logic paths
- Run Stryker on a focused scope (one module) rather than the whole codebase to keep CI times manageable

## Check

Assess whether this module has mutation testing configured and whether the mutation score on critical paths meets the project's quality threshold.

## Fix

Set up Stryker for this module, run an initial mutation report, and improve tests to kill surviving mutants in the critical business logic paths.

## Explain

Explain what mutation testing is, how Stryker works, and why mutation score is a more meaningful quality signal than code coverage alone.

## Code Review

Review the Stryker configuration and mutation report to identify surviving mutants in critical code paths, and suggest test improvements to kill them.

---

For full implementation details, code examples, and framework-specific guidance,
see `references/rule.md`.

Rule page: https://frontendchecklist.io/rules/testing/mutation-testing
Pliki w paczce (2)
  • SKILL.md 2 KB
  • references/rule.md 7 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · thedaviddias/front-end-checklist100MIT
proffesor-for-testing/agentic-qe100MIT
trailofbits/skills100CC-BY-SA-4.0
laurigates/claude-plugins100MIT
DnsQueen/orcinus-skills100MIT
craftos-dev/craftbot100MIT
nikeyes/stepwise-dev100Apache-2.0
sebastiendegodez/skraft-plugin100GPL-3.0
citypaul/.dotfiles100MIT

Migawka bazy z 13.11.2026 · wersja paczki 67aad2c14b26 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100running-mutation-tests
    Uruchamia testowanie mutacyjne, które sprawdza, czy testy faktycznie wychwytują błędy w kodzie.
  • 100qe-mutation-testing
    Ocenia jakość testów przez testowanie mutacyjne: wprowadza mutacje w kodzie i mierzy odsetek wykrytych, aby wskazać słabe testy.
  • 100running-mutation-tests
    Wykonuje testy mutacyjne, aby ocenić skuteczność zestawu testów.
  • 100mutation-test
    Uruchamia testy mutacyjne, aby ocenić jakość testów ponad samo pokrycie kodu, znaleźć słabe testy i sprawdzić skuteczność zestawu testów.
  • 100mutation-test
    Uruchamia testy mutacyjne, aby ocenić jakość testów ponad samo pokrycie kodu, znaleźć słabe testy i sprawdzić skuteczność zestawu testów.
  • 100mutation-testing-setup
    Konfiguruje mutation testing ze Stryker.NET, aby sprawdzić, czy testy faktycznie wychwytują błędy, i pomaga interpretować mutation score oraz ocalałe mutanty.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.