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,018,371

Last month

177,262

Last week

42,576

Average per day

5,909

Daily downloads

Total downloads

Description file content

Package
testthat
Title
Unit Testing for R
Version
2.0.0
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, 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
2017-11-28 16:44:21 UTC; hadley
Author
Hadley Wickham [aut, cre], RStudio [cph, fnd], R Core team [ctb] (Implementation of utils::recover())
Maintainer
Hadley Wickham
Repository
CRAN
Date/Publication
2017-12-13 09:30:12 UTC

install.packages('testthat')

2.0.0

6 months 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, xml2

Discussions