Package: tinytest 1.4.2

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.2.tar.gz
tinytest_1.4.2.zip(r-4.6)tinytest_1.4.2.zip(r-4.5)tinytest_1.4.2.zip(r-4.4)
tinytest_1.4.2.tgz(r-4.6-any)tinytest_1.4.2.tgz(r-4.5-any)
tinytest_1.4.2.tar.gz(r-4.6-any)tinytest_1.4.2.tar.gz(r-4.5-any)
tinytest_1.4.2.tgz(r-4.5-emscripten)
tinytest.pdf |tinytest.html
tinytest/json (API)
NEWS

# 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:

12.41 score 236 stars 7 packages 972 scripts 41k downloads 1 mentions 36 exports 0 dependencies

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

TargetResultTotal timeArtifact
linux-devel-x86_64WARNING83
source / vignettesOK135
linux-release-x86_64WARNING97
macos-devel-arm64WARNING124
macos-release-arm64WARNING108
windows-develWARNING49
windows-releaseWARNING60
windows-oldrelWARNING64
wasm-releaseOK89

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

Rendered fromtinytest_examples.Rnwusingutils::Sweaveon Feb 06 2026.

Last update: 2022-10-06
Started: 2019-07-10

Using tinytest

Rendered fromusing_tinytest.Rnwusingutils::Sweaveon Feb 06 2026.

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

  • Image