testthat

Unit Testing for R

Software testing is important, but, in part because it is frustrating and boring, many of us avoid it. 'testthat' is a testing framework for R that is easy learn and use, and integrates with your existing 'workflow'.

Total

3,638,476

Last month

167,577

Last week

51,748

Average per day

5,586

Daily downloads

Total downloads

Description file content

Package
testthat
Title
Unit Testing for R
Version
2.0.1
Description
Software testing is important, but, in part because it is frustrating and boring, many of us avoid it. 'testthat' is a testing framework for R that is easy learn and use, and integrates with your existing 'workflow'.
License
MIT + file LICENSE
URL
BugReports
https://github.com/r-lib/testthat/issues
Depends
R (>= 3.1)
Imports
cli, crayon, digest, magrittr, methods, praise, R6 (>= 2.2.0), rlang, withr (>= 2.0.0)
Suggests
covr, devtools, knitr, rmarkdown, usethis, xml2
VignetteBuilder
knitr
Encoding
UTF-8
RoxygenNote
6.0.1
Collate
'auto-test.R' 'capture-condition.R' 'capture-output.R' 'colour-text.R' 'compare.R' 'compare-character.R' 'compare-numeric.R' 'compare-time.R' 'context.R' 'describe.R' 'evaluate-promise.R' 'expect-comparison.R' 'expect-equality.R' 'expect-inheritance.R' 'expect-known.R' 'expect-length.R' 'expect-logical.R' 'expect-named.R' 'expect-output.R' 'reporter.R' 'expect-self-test.R' 'expect-that.R' 'expectation.R' 'expectations-matches.R' 'make-expectation.R' 'mock.R' 'old-school.R' 'praise.R' 'recover.R' 'reporter-check.R' 'reporter-debug.R' 'reporter-fail.R' 'reporter-junit.R' 'reporter-list.R' 'reporter-location.R' 'reporter-minimal.R' 'reporter-multi.R' 'stack.R' 'reporter-progress.R' 'reporter-rstudio.R' 'reporter-silent.R' 'reporter-stop.R' 'reporter-summary.R' 'reporter-tap.R' 'reporter-teamcity.R' 'reporter-zzz.R' 'skip.R' 'source.R' 'teardown.R' 'test-compiled-code.R' 'test-directory.R' 'test-example.R' 'test-files.R' 'test-path.R' 'test-that.R' 'traceback.R' 'try-again.R' 'utils-io.R' 'utils.R' 'watcher.R'
NeedsCompilation
yes
Packaged
2018-10-12 18:10:12 UTC; jhester
Author
Hadley Wickham [aut, cre], RStudio [cph, fnd], R Core team [ctb] (Implementation of utils::recover())
Maintainer
Hadley Wickham
Repository
CRAN
Date/Publication
2018-10-13 08:40:03 UTC

install.packages('testthat')

2.0.1

4 days ago

http://testthat.r-lib.org

Hadley Wickham

MIT + file LICENSE

Depends on

R (>= 3.1)

Imports

cli, crayon, digest, magrittr, methods, praise, R6 (>= 2.2.0), rlang, withr (>= 2.0.0)

Suggests

covr, devtools, knitr, rmarkdown, usethis, xml2

Discussions