Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
# testthat 0.11.0.9000

* `set_reporter()` returns old reporter invisibly (#358, @krlmlr).

* New option `testthat.summary.max_reports` that limits the number of reports printed by the summary reporter, default: 15 (@krlmlr, #354).

* Fix failure message for `throws_error` in case where no error is raised (@nealrichardson, #342).
* Fix failure message for `throws_error` in case where no error is raised (#342, @nealrichardson).

* Added [Catch](https://github.com/philsquared/Catch) for unit testing of C++ code.
See `?use_catch()` for more details. (@kevinushey)

* `expect_identical()` and `is_identical_to()` now use `compare()` for more
detailed output of differences (@krlmlr, #319).
detailed output of differences (#319, @krlmlr).

# testthat 0.11.0

Expand Down
2 changes: 1 addition & 1 deletion R/reporter-zzz.r
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ testthat_env$reporter <- StopReporter$new()
set_reporter <- function(reporter) {
old <- testthat_env$reporter
testthat_env$reporter <- reporter
old
invisible(old)
}

#' @rdname reporter-accessors
Expand Down