1# produces useful output
2
3    Test passed
4    -- Failure (tests.R:12:3): Failure:1 -------------------------------------------
5    FALSE is not TRUE
6
7    `actual`:   FALSE
8    `expected`: TRUE
9
10    -- Failure (tests.R:17:3): Failure:2a ------------------------------------------
11    FALSE is not TRUE
12
13    `actual`:   FALSE
14    `expected`: TRUE
15    Backtrace:
16     1. f()
17     2. testthat::expect_true(FALSE)
18
19    -- Error (tests.R:23:3): Error:1 -----------------------------------------------
20    Error in `eval(code, test_env)`: stop
21
22    -- Error (tests.R:31:3): errors get tracebacks ---------------------------------
23    Error in `h()`: !
24    Backtrace:
25     1. f()
26     2. g()
27     3. h()
28
29    -- Skip (tests.R:37:3): explicit skips are reported ----------------------------
30    Reason: skip
31
32    -- Skip (tests.R:40:1): empty tests are implicitly skipped ---------------------
33    Reason: empty test
34
35    -- Warning (tests.R:49:3): warnings get backtraces -----------------------------
36    def
37    Backtrace:
38     1. f()
39
40    -- Skip (tests.R:45:1): warnings get backtraces --------------------------------
41    Reason: empty test
42
43
44