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.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.42 score 235 stars 7 packages 784 scripts 52k downloads 1 mentions 36 exports 0 dependencies

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

TargetResultTotal timeArtifact
linux-devel-x86_64WARNING100
source / vignettesOK151
linux-release-x86_64WARNING97
macos-release-arm64WARNING103
macos-oldrel-arm64WARNING71
windows-develWARNING62
windows-releaseWARNING64
windows-oldrelWARNING53
wasm-releaseOK87

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 Dec 08 2025.

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

Using tinytest

Rendered fromusing_tinytest.Rnwusingutils::Sweaveon Dec 08 2025.

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

  • Image