|
| 1 | +# mutator 0.2.0 |
| 2 | + |
| 3 | +- Added first-class `tinytest` support. A package with an `inst/tinytest` |
| 4 | + directory is now auto-detected and its mutants are run in-process with |
| 5 | + `pkgload::load_all()` and `tinytest::run_test_dir()`, without an install per |
| 6 | + mutant, including coverage-guided test selection. |
| 7 | +- Added a `strategy` argument to `mutate_package()` to override test-framework |
| 8 | + auto-detection. Accepted values are `"auto"` (the default), `"testthat"`, |
| 9 | + `"tinytest"`, `"tinytest-installed"`, and `"installed"`. |
| 10 | +- Added a `tinytest-installed` strategy that installs each mutant and runs |
| 11 | + `tinytest::test_package()`. It is a fallback for packages whose in-process |
| 12 | + load diverges from an installed copy and unlike the generic |
| 13 | + installed-tests fallback it still supports coverage-guided selection. |
| 14 | +- Reworked the README and configuration vignette, documenting how the test |
| 15 | + strategy is selected and when to override it. |
| 16 | +- Fixed the `per_file` coverage backend to forward the package's |
| 17 | + `tests/testthat.R` harness arguments (notably any `filter`) to |
| 18 | + `testthat::test_dir()`, matching the `record_tests` backend. |
| 19 | + |
1 | 20 | # mutator 0.1.1 |
2 | 21 |
|
3 | | -* Fixed coverage-guided baseline runs for packages with native code by compiling |
| 22 | +- Fixed coverage-guided baseline runs for packages with native code by compiling |
4 | 23 | native sources before mutant execution. |
5 | | -* Fixed the `record_tests` coverage backend so it forwards the selected CRAN |
| 24 | +- Fixed the `record_tests` coverage backend so it forwards the selected CRAN |
6 | 25 | mode consistently. |
7 | | -* Updated the reusable GitHub Actions workflow to install `imputesrcref` from |
| 26 | +- Updated the reusable GitHub Actions workflow to install `imputesrcref` from |
8 | 27 | its default branch, replacing the removed development-branch reference. |
9 | | -* Expanded mutation-system coverage across execution modes and raised mutator's |
| 28 | +- Expanded mutation-system coverage across execution modes and raised mutator's |
10 | 29 | own test coverage above 90% without adding slow integration tests. |
11 | 30 |
|
12 | 31 | # mutator 0.1.0 |
13 | 32 |
|
14 | | -* Initial CRAN release candidate. |
| 33 | +- Initial CRAN release candidate. |
0 commit comments