Skip to content

Commit 1878d97

Browse files
hadleyjennybc
andauthored
Update NEWS.md
Co-authored-by: Jennifer (Jenny) Bryan <[email protected]>
1 parent 6d82ad6 commit 1878d97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

NEWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# testthat (development version)
22

3-
* `test_dir()`, `test_file()`, `test_package()`, `test_check()`, `test_local()`, `source_file()` gain a `shuffle` argument that randomly reorders expressions using `sample()` (#1942). Randomly shuffling all the expressions in a test file ensures that you haven't accidentally introduced any dependencies between tests.
3+
* `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.
44
* `ParallelProgressReporter` now respect `max_failures` (#1162).
55
* The last snapshot is no longer lost if the snapshot file is missing the final newline (#2092). It's easy to accidentally remove this because there are two trailing new lines in snapshot files and many editors will automatically remove if you touch the file.
66
* New `expect_r6_class()` (#2030).

0 commit comments

Comments
 (0)