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
Introducing a stack of test descriptions and moving reporter creation to `test_code()` allows `describe()` and `it()` to be much simpler and much more similar. I've also bulked out the testing a little more, since it was pretty basic previously.
Fixes#2007
Copy file name to clipboardExpand all lines: NEWS.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,7 @@
1
1
# testthat (development version)
2
2
3
+
*`describe()`, `it()`, and `test_that()` now have a shared stack of descriptions so that if you nest any inside of each other, any resulting failures will show you the full path.
4
+
*`describe()` now correctly scopes `skip()` (#2007).
3
5
*`ParallelProgressReporter` now respect `max_failures` (#1162).
4
6
* 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.
0 commit comments