Quality & Health
sate duplication
Clusters duplicate test patterns to surface consolidation opportunities.
What it does
Identifies tests with structurally similar shape (same set of factories, same assertion pattern, same Act target) and groups them into clusters. Each cluster suggests an opportunity to extract a shared test helper or replace N tests with a data provider.
Who runs this
- →Test-suite refactorers fighting maintenance bloat
- →Reviewers spotting copy-paste tests on a PR
How to invoke
sate duplication --project-root /path/to/laravel-app --out report.jsonFlags
--project-root <path>Required.
--out <path>Write JSON report to file.
What it produces
- ·JSON report at --out path with cluster arrays
What it does NOT do
- ✖Does NOT auto-deduplicate — it surfaces candidates
- ✖Does NOT cluster across distinct test types (unit vs integration)
Notes
Zero dedicated test coverage today — this is one of the thin-coverage pipelines on the engine's test-debt list.
Status
Engine tests
0
Status
Shipped (partial)
Category
Quality & Health