Skip to content

Commit

Permalink
Merge branch 'feature/error-in-message-demo' into feature/error-in-me…
Browse files Browse the repository at this point in the history
…ssage

Includes an update of the test results.
  • Loading branch information
Kirill Müller committed Mar 4, 2016
2 parents 27536b7 + 51df2e8 commit 1150225
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/testthat/reporters/check.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ stop
4: stop("!") at reporters/tests.R:34

testthat results ================================================================
OK: 5 SKIPPED: 2 FAILED: 6
OK: 7 SKIPPED: 2 FAILED: 6
1. Failure: Failure:1 (@tests.R#8)
2. Failure: Failure:2a (@tests.R#12)
3. Failure: Failure:2b (@tests.R#15)
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/reporters/minimal.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
.FFFF.EESSWWW
.FFFF.EESSWWW..
1 change: 1 addition & 0 deletions tests/testthat/reporters/summary.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ Expectations: .1234.
Errors: 56
Skips: SS
Warnings: WWW
Promises: ..

Skipped --------------------------------------------------------------------
1. Skip:1 (@tests.R#42) - skip
Expand Down
5 changes: 4 additions & 1 deletion tests/testthat/reporters/tap.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
1..13
1..15
# Context Expectations
ok 1 Success
not ok 2 Failure:1
Expand Down Expand Up @@ -33,3 +33,6 @@ ok 10 # SKIP skip
ok 11 # WARNING abc
ok 12 # WARNING def
ok 13 # WARNING ghi
# Context Promises
ok 14 Promises:1
ok 15 Promises:1
11 changes: 11 additions & 0 deletions tests/testthat/reporters/teamcity.txt
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,14 @@
##teamcity[testSuiteFinished name='Warnings']


##teamcity[testSuiteStarted name='Promises']
##teamcity[testSuiteStarted name='Promises:1']
##teamcity[testStarted name='expectation 1']
##teamcity[testFinished name='expectation 1']
##teamcity[testStarted name='expectation 2']
##teamcity[testFinished name='expectation 2']
##teamcity[testSuiteFinished name='Promises:1']

##teamcity[testSuiteFinished name='Promises']


6 changes: 6 additions & 0 deletions tests/testthat/reporters/tests.R
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,9 @@ test_that("Warning:2", {
warning("def")
warning("ghi")
})

context("Promises")

test_that("Promises:1", {
expect_output(expect_false(FALSE), NA)
})

0 comments on commit 1150225

Please sign in to comment.