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>
LicenseGPL-3
Version1.4.1
URL https://github.com/markvanderloo/tinytest
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("tinytest")

Try the tinytest package in your browser

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

tinytest documentation built on March 7, 2023, 7:43 p.m.