tinytest: Lightweight and Feature Complete Unit Testing Framework

Provides a lightweight (zero-dependency) and easy to use unit testing framework. Main features: install tests with the package. Test results are treated as data that can be stored and manipulated. Test files are R scripts interspersed with test commands, that can be programmed over. Fully automated build-install-test sequence for packages. Skip tests when not run locally (e.g. on CRAN). Flexible and configurable output printing. Compare computed output with output stored with the package. Run tests in parallel. Extensible by other packages. Report side effects.

Package details

AuthorMark van der Loo [aut, cre] (<https://orcid.org/0000-0002-9807-4686>)
MaintainerMark van der Loo <mark.vanderloo@gmail.com>
URL https://github.com/markvanderloo/tinytest
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the tinytest package in your browser

Any scripts or data that you put into this service are public.

tinytest documentation built on July 6, 2021, 5:08 p.m.