v1.0.0 — Initial stable release #41
ericodx
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
The first stable release of
swift-mutation-testing— an AST-based CLI that finds untested behaviour in Swift codebases by systematically introducing code mutations and verifying that your test suite detects them.What's included
Mutation pipeline
$TMPDIRwithThrowingTaskGroupacross cloned simulatorsMutation operators
RelationalOperatorReplacement— replaces>>=<<===!=BooleanLiteralReplacement— swapstrue↔falseLogicalOperatorReplacement— swaps&&↔||ArithmeticOperatorReplacement— replaces+-*/%NegateConditional— wraps conditions in!()SwapTernary— swaps ternary branchesRemoveSideEffects— removes standalone function call statementsPlatform support
xcodebuilddestination stringDeveloper experience
swift-mutation-testing initgenerates a project-scoped.swift-mutation-testing.ymlwith auto-detected scheme and destination@SwiftMutationTestingDisabledattribute suppresses mutations within any function, type, or property scope--operatorand--disable-mutatorflags for per-run operator control--quietflag for CI-friendly output--no-cacheflag to force a full re-runReports
--output) in Stryker-compatible format--html-output) with colour-coded per-file dashboards--sonar-output) — survived mutants asMAJOR CODE_SMELL, no-coverage mutants asMINORCaching
.swift-mutation-testing-cache/results.json, keyed by SHA256 of source and test file contentsRequirements
Installation
See the [Installation Guide](
Docs/INSTALLATION.md) for Homebrew, pre-built binary, and build from source instructions.What's Changed
New Contributors
Full Changelog: https://github.com/ericodx/swift-mutation-testing/commits/v1.0.0
This discussion was created from the release v1.0.0 — Initial stable release.
All reactions