You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: NEWS.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,11 @@
3
3
*`test_dir()` will no longer run tests in parallel if only a single file is being tested (#2305).
4
4
*`default_parallel_reporter()` is no longer exported; use `default_reporter(parallel = TRUE)` instead (#2305).
5
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).
6
11
* Fixed support for `shinytest2::AppDriver$expect_values()` screenshot snapshot failing on CI (#2293, #2288).
7
12
8
13
* testthat now emits OpenTelemetry traces for tests when tracing is enabled. Requires the otel and otelsdk packages (#2282).
0 commit comments