Skip to content

Commit 50bdc24

Browse files
committed
New and better way
1 parent 4e11c96 commit 50bdc24

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

vignettes/parallel.Rmd

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,7 @@ The other built-in reporters all support parallel tests, with some subtle differ
111111
`ProgressReporter` does not update its display until a test file is complete.
112112

113113
- The standard output and standard error, i.e. `print()`, `cat()`, `message()`, etc. output from the test files are lost currently.
114-
If you want to use `cat()` or `message()` for print-debugging test cases, then the best is to temporarily run tests sequentially, by changing the `Config` entry in `DESCRIPTION` or selecting a non-parallel reporter, e.g. the `DebugReporter`:
115-
116-
``` r
117-
devtools::test(filter = "badtest", reporter = "debug")
118-
```
114+
If you want to use `cat()` or `message()` for print-debugging test cases, then the best is to temporarily run tests sequentially, by changing the `Config` entry in `DESCRIPTION` or setting `Sys.setenv(TESTTHAT_PARALLEL = "false")`.
119115

120116
### Writing parallel reporters
121117

0 commit comments

Comments
 (0)