Package: tinytest 1.4.3

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.

Authors:Mark van der Loo [aut, cre]

tinytest_1.4.3.tar.gz
tinytest_1.4.3.zip(r-4.7-any)tinytest_1.4.3.zip(r-4.6-any)tinytest_1.4.3.zip(r-4.5-any)
tinytest_1.4.3.tgz(r-4.6-any)tinytest_1.4.3.tgz(r-4.5-any)
tinytest_1.4.3.tar.gz(r-4.7-any)tinytest_1.4.3.tar.gz(r-4.6-any)
tinytest_1.4.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
tinytest/json (API)

# Install 'tinytest' in R:
install.packages('tinytest', repos = c('https://markvanderloo.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/markvanderloo/tinytest/issues

On CRAN:

Conda:

10.68 score 245 stars 9 packages 56k downloads 1 mentions 36 exports 0 dependencies

Last updated from:5498574a51. Checks:7 WARNING, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develWARNING92
source / vignettesOK175
linux-releaseWARNING89
macos-releaseWARNING109
macos-oldrelWARNING70
windows-develWARNING47
windows-releaseWARNING57
windows-oldrelWARNING80
wasm-releaseOK73

Exports:all_failall_passany_failany_passat_homebuild_install_testexit_fileexit_if_notexpect_equalexpect_equal_to_referenceexpect_equivalentexpect_equivalent_to_referenceexpect_errorexpect_falseexpect_identicalexpect_inheritsexpect_lengthexpect_matchexpect_messageexpect_nullexpect_silentexpect_stdoutexpect_trueexpect_warningget_call_wdignorepuppyregister_tinytest_extensionreport_side_effectsrun_test_dirrun_test_filesetup_tinytesttest_alltest_packagetinytestusing

Dependencies:

tinytest by example
expect_equal | expect_equivalent | expect_identical | expect_null | expect_true, expect_false | expect_message | expect_warning | expect_error | expect_silent | ignore

Last update: 2026-03-21
Started: 2019-07-10

Using tinytest
Purpose of this package: unit testing | Expressing tests | Test files | Testing packages | Testing with environmental variables | Running tests in parallel | A few tips on packages and unit testing

Last update: 2022-10-06
Started: 2019-02-22