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.5)tinytest_1.4.2.zip(r-4.4)tinytest_1.4.2.zip(r-4.3)
tinytest_1.4.2.tgz(r-4.4-any)tinytest_1.4.2.tgz(r-4.3-any)
tinytest_1.4.2.tar.gz(r-4.5-noble)tinytest_1.4.2.tar.gz(r-4.4-noble)
tinytest_1.4.2.tgz(r-4.4-emscripten)tinytest_1.4.2.tgz(r-4.3-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'))

Peer review:

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

On CRAN:

12.37 score 226 stars 7 packages 574 scripts 17k downloads 1 mentions 36 exports 0 dependencies

Last updated 14 days agofrom:c3ddc5b1a4. Checks:1 OK, 6 WARNING. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKJan 08 2025
R-4.5-winWARNINGJan 08 2025
R-4.5-linuxWARNINGJan 08 2025
R-4.4-winWARNINGJan 08 2025
R-4.4-macWARNINGJan 08 2025
R-4.3-winWARNINGJan 08 2025
R-4.3-macWARNINGJan 08 2025

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

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

Using tinytest

Rendered fromusing_tinytest.Rnwusingutils::Sweaveon Jan 08 2025.

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