3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-19 14:45:44 +01:00

Mutation-test the source lines a chunk changes with mutation-tests/run.sh

This commit is contained in:
2026-10-28 19:50:00 +01:00
committed by Lillem4n
parent 75ddc2ee17
commit 061ae81644
6 changed files with 2551 additions and 0 deletions
+9
View File
@@ -194,6 +194,7 @@ Nothing throws. `code` is from a closed list, so a `switch` with no `default` co
- [The guarantees](#the-guarantees)
- [The package](#the-package)
- [Everything exported](#everything-exported)
- [Changing the source](#changing-the-source)
- [Links](#links)
## Goals
@@ -726,6 +727,14 @@ Contract: [`docs/decisions.md`](https://github.com/larvit/adf-codec/blob/main/do
| `losslessMarkdownToAdf` | function | the lossless flavour to ADF |
| `portableMarkdownToAdf` | function | portable markdown to ADF |
## Changing the source
Both commands need only Docker, git and bash 5.
- `./ci.sh` runs the gate: every check CI runs.
- `./mutation-tests/run.sh [<base>]` mutation-tests the source lines changed since `<base>`,
`origin/main` by default, running each mutant against only the test files that reach it.
## Links
- [Changelog](https://github.com/larvit/adf-codec/blob/main/CHANGELOG.md)