Skip to content

Commit c19279f

Browse files
committed
Alphabetise news bullet
1 parent 85e76e1 commit c19279f

1 file changed

Lines changed: 8 additions & 9 deletions

File tree

NEWS.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
# testthat 3.3.1
22

3-
* `test_dir()` will no longer run tests in parallel if only a single file is being tested (#2305).
4-
* `default_parallel_reporter()` is no longer exported; use `default_reporter(parallel = TRUE)` instead (#2305).
5-
* New `LlmReporter()` designed for LLMs to read. It's currently used automatically inside Claude code, cursor, and gemini cli, and you can set `AGENT=1` to use with any coding agent (#2287).
6-
* `local_mocked_s3_method()` and `local_mocked_s4_method()` can now mock methods that don't already exist, and can use `definition = NULL` to temporarily remove a method. `local_mocked_s4_method()` now also works when the generic is defined in another package (#2302).
7-
* `expect_snapshot()` now reports the original error class for base errors, rather than `rlang_error` (#2286).
8-
* `expect_success()` and `expect_failure()` are more clear about what the expectation actually did (#2297).
9-
* The hint to use `snapshot_download_gh()` is now only emitted when running in a job named "R-CMD-check" (#2300).
10-
* `expect_snapshot_file()` correctly reports file name if duplicated (@MichaelChirico, #2296).
113
* Fixed support for `shinytest2::AppDriver$expect_values()` screenshot snapshot failing on CI (#2293, #2288).
12-
134
* testthat now emits OpenTelemetry traces for tests when tracing is enabled. Requires the otel and otelsdk packages (#2282).
5+
* `default_parallel_reporter()` is no longer exported; use `default_reporter(parallel = TRUE)` instead (#2305).
6+
* `expect_snapshot()` now reports the original error class for base errors, rather than `rlang_error` (#2286).
7+
* `expect_snapshot()` and friends only emit the `snapshot_download_gh()` hint when running in a job named "R-CMD-check" (#2300).
8+
* `expect_snapshot_file()` correctly reports file name if duplicated (@MichaelChirico, #2296).
9+
* `expect_success()` and `expect_failure()` are more clear about what the expectation actually did (#2297).
10+
* `LlmReporter()` is a new reporter designed for LLMs to read. It's currently used automatically inside Claude Code, Cursor, and Gemini CLI, and you can set `AGENT=1` to use with any coding agent (#2287).
11+
* `local_mocked_s3_method()` and `local_mocked_s4_method()` can now mock methods that don't already exist, and can use `definition = NULL` to temporarily remove a method. `local_mocked_s4_method()` now also works when the generic is defined in another package (#2302).
12+
* `test_dir()` will no longer run tests in parallel if only a single file is being tested (#2305).
1413

1514
# testthat 3.3.0
1615

0 commit comments

Comments
 (0)