Tests and Coverage

05 November, 2019 23:55:23

This output is created by covrpage.

Coverage

Coverage summary is created using the covr package.

Object Coverage (%)
whereami 37.09
R/breadcrumb.R 0.00
R/counter.R 21.74
R/print.R 41.38
R/whereami.R 44.74
R/thisfile.R 46.34
R/utils.R 100.00


Unit Tests

Unit Test summary is created using the testthat package.

file n time error failed skipped warning icon
test-console.R 2 0.002 0 0 0 0
test-counter.R 11 0.083 0 0 0 0
test-source.R 3 0.047 0 0 0 0
test-thisfile.R 4 0.016 0 0 3 0 🔶

Show Detailed Test Results

file context test status n time icon
test-console.R console functionality console functionality: class PASS 1 0.001
test-console.R console functionality console functionality: value PASS 1 0.001
test-counter.R counter functionality counter flow: no counter exists PASS 1 0.002
test-counter.R counter functionality counter flow: initial PASS 1 0.028
test-counter.R counter functionality counter flow: check counter was created PASS 1 0.002
test-counter.R counter functionality counter flow: counter name PASS 1 0.003
test-counter.R counter functionality counter flow: counter bump PASS 1 0.022
test-counter.R counter functionality counter flow: counter state PASS 1 0.002
test-counter.R counter functionality counter flow: cat_whereami PASS 1 0.019
test-counter.R counter functionality counter flow: multiple counter states PASS 1 0.002
test-counter.R counter functionality counter flow: multiple counter names PASS 1 0.001
test-counter.R counter functionality counter flow: reset item PASS 1 0.001
test-counter.R counter functionality counter flow: reset all PASS 1 0.001
test-source.R source functionality source calls: direct call PASS 1 0.014
test-source.R source functionality source calls: path expand PASS 1 0.014
test-source.R source functionality source calls: print PASS 1 0.019
test-thisfile.R thisfile thisfile works with source SKIPPED 1 0.001 🔶
test-thisfile.R thisfile thisfile works with Rscript SKIPPED 1 0.001 🔶
test-thisfile.R thisfile thisfile works with R SKIPPED 1 0.001 🔶
test-thisfile.R thisfile thisfile works with knitr PASS 1 0.013
Failed Warning Skipped
🛑 ⚠️ 🔶

Session Info

Field Value
Version R version 3.5.1 (2018-07-02)
Platform x86_64-apple-darwin15.6.0 (64-bit)
Running macOS 10.14.4
Language en_US
Timezone America/New_York
Package Version
testthat 2.0.1
covr 3.2.1
covrpage 0.0.70