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:

36 exports 222 stars 6.03 score 0 dependencies 7 dependents 1 mentions 588 scripts 17.9k downloads

Last updated 1 months agofrom:30cc39ce7a. Checks:OK: 1 WARNING: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 12 2024
R-4.5-winWARNINGSep 12 2024
R-4.5-linuxWARNINGSep 12 2024
R-4.4-winWARNINGSep 12 2024
R-4.4-macWARNINGSep 12 2024
R-4.3-winWARNINGSep 12 2024
R-4.3-macWARNINGSep 12 2024

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 Sep 12 2024.

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

Using tinytest

Rendered fromusing_tinytest.Rnwusingutils::Sweaveon Sep 12 2024.

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