Search all packages and functions
There's a newer version (3.0.2) of this package.
Take me there.
Readme not available 😞
Link to current version
March 27th, 2013
Functions in testthat (0.7.1)
Stub object for managing a reporter of tests.
Test reporter: TAP format.
Test reporter: summary of errors.
Expect that a condition holds.
Expectation: does expression give a warning?
Colourise text for display in the terminal.
Describe the context of a set of tests.
Compare two directory states.
A default expectation that always fails.
Test reporter: minimal.
Capture the state of a directory.
Expectation: is the object equivalent to a value? This expectation tests for equivalency: are two objects equal once their attributes have been removed.
Expectation: does printed output match a regular expression?
Generate error report from traceback.
Run all tests in an installed package
Expectation: is the object false?
Make an equality test.
Expectation: is the object true?
Test reporter: stop on error.
Expectation: does string match regular expression?
Find reporter object given name
Load package, if available.
Watch a directory for changes (additions, deletions & modifications).
Run all of the tests in a directory.
Watches code and tests for changes, rerunning tests as appropriate.
Watches a package for changes, rerunning tests as appropriate.
Expectation: is the object identical to another?
Expectation: does expression show a message?
Run all tests in specified file.
Execute code in specified reporter.
Expectation: is the object equal (with numerical tolerance) to a value?
Create a test.
Expectation: does expression throw an error?
Load all source files in a directory.
Expectation: does the object inherit from a class?
Expectation: does expression take less than a fixed amount of time to run?