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
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# testthat (development version)
2
2
3
-
*`snapshot_review()`disables the skip button if there's only one snapshot to review (#2025).
3
+
*`snapshot_review()`includes a reject button and only displays the file navigation and the skip button if there are multiple files to review (#2025).
4
4
*`test_dir()`, `test_file()`, `test_package()`, `test_check()`, `test_local()`, `source_file()` gain a `shuffle` argument uses `sample()` to randomly reorder the top-level expressions in each test file (#1942). This random reordering surfaces dependencies between tests and code outside of any test, as well as dependencies between tests. This helps you find and eliminate unintentional dependencies.
5
5
*`snapshot_accept(test)` now works when the test file name contains `.` (#1669).
6
6
*`local_mock()` and `with_mock()` have been deprecated because they are no longer permitted in R 4.5.
0 commit comments