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.

Version: 1.4.1
Depends: R (≥ 3.0.0)
Imports: parallel, utils
Published: 2023-02-22
DOI: 10.32614/CRAN.package.tinytest
Author: Mark van der Loo ORCID iD [aut, cre]
Maintainer: Mark van der Loo <mark.vanderloo at gmail.com>
BugReports: https://github.com/markvanderloo/tinytest/issues
License: GPL-3
URL: https://github.com/markvanderloo/tinytest
NeedsCompilation: no
Citation: tinytest citation info
Materials: README NEWS
CRAN checks: tinytest results

Documentation:

Reference manual: tinytest.pdf
Vignettes: tinytest by example
Using tinytest

Downloads:

Package source: tinytest_1.4.1.tar.gz
Windows binaries: r-devel: tinytest_1.4.1.zip, r-release: tinytest_1.4.1.zip, r-oldrel: tinytest_1.4.1.zip
macOS binaries: r-release (arm64): tinytest_1.4.1.tgz, r-oldrel (arm64): tinytest_1.4.1.tgz, r-release (x86_64): tinytest_1.4.1.tgz, r-oldrel (x86_64): tinytest_1.4.1.tgz
Old sources: tinytest archive

Reverse dependencies:

Reverse depends: QR
Reverse imports: epidata, packager, tinysnapshot, tinytest2JUnit, ttdo
Reverse suggests: abclass, accumulate, aion, ALFAM2, alkahest, AMR, amt, anticlust, AnVILAz, AnVILBase, anytime, aphylo, ArchaeoPhases, arkhe, arrg, ast2ast, autometric, backbone, banditpam, barrks, Bayesrel, BayesRep, BayesRepDesign, bdots, BEDMatrix, benchr, bfpwr, BiocBaseUtils, BiocCheck, blavaan, bootGOF, brglm2, bspm, bsvars, bsvarSIGNs, BVAR, BVARverse, canprot, cartography, catalog, cdata, checkmate, chem16S, ChemoSpec, ChemoSpec2D, ChemoSpecUtils, CHNOSZ, chronosphere, cit, clarabel, classInt, climetrics, clubpro, CoDaImpact, comat, comprehenr, container, crochet, cronR, ctrdata, datetimeutils, dauphin, dcmodify, deductive, Delaporte, detectseparation, dfdr, digest, dimensio, DisImpact, distanceto, diveMove, divest, doconv, docxtractr, douconca, DTSg, dtts, ecic, EnvStats, epiworldR, ergmito, ess, et.nwfva, etwfe, facmodTS, factor256, factReg, fastdid, fastshap, faviconPlease, fisheye, flexiblas, fmcmc, fntl, formatdown, fritools, fritools2, gbm, gdalcubes, gdm, geojsonsf, geometries, gepaf, ggfixest, ggiraph, ggprism, ggspark, gimms, gower, gpkg, grattanInflators, GroupSeq, grpreg, gtfsio, gtrendsR, h3lib, h3r, hashr, healthyAddress, highs, holiglm, howManyImputations, hutilscpp, icr, imbibe, inlcolor, inldata, inline, inlpubs, install.load, interleave, intsurv, irg, isatabr, isopleuros, jagsUI, jti, kairos, khroma, lamW, languageserversetup, LearnPCA, linemap, LinkedMatrix, lintools, lmhelprs, LMMsolver, longevity, longurl, lumberjack, maditr, manymome.table, mapiso, maplegend, mapsf, maptiles, mapview, marginaleffects, maxLik, MBBEFDLite, merDeriv, metaRange, mev, midfieldr, miesmuschel, mig, minimaxApprox, mlms, mmand, modelbpp, modelsummary, mschart, mslp, MSstats, MSstatsConvert, MSstatsLOBD, nanotime, ncvreg, ndjson, neighbours, netplot, neverhpfilter, nexus, nloptr, NMOF, nngeo, nonprobsvy, od, ODataQuery, OmicNavigator, opa, Orcs, ore, osrm, owd, Pade, paropt, pci, pdp, PerformanceAnalytics, phangorn, phosphoricons, phyloregion, piqp, pkgKitten, plmmr, PMwR, poorman, potential, ppRep, pqrfe, psychotree, QDiabetes, qpmadr, quadprogXT, QuickJSR, Rarr, rassta, raster, Rblpapi, Rcpp, RcppAnnoy, RcppArmadillo, RcppArray, RcppBlaze, RcppCCTZ, RcppClassic, RcppDynProg, RcppEigen, RcppFastAD, RcppFastFloat, RcppGSL, RcppInt64, RcppLbfgsBlaze, RcppMagicEnum, RcppRedis, RcppSimdJson, RcppTOML, RcppUUID, rdbnomics, reda, reformulas, remify, remstats, remstimate, replacer, restatapi, RestRserve, revss, rgeedim, rgexf, rhdf5filters, Rhdf5lib, RITCH, rjsoncons, rlas, RMCC, RNifti, RNiftyReg, roger, roundhouse, roxut, roxytest, RPhosFate, RProtoBuf, rqdatatable, RQuantLib, rquery, rspa, rspm, RTMB, runner, RWNN, scs, semnar, sergeant, settings, sgo, sigr, simPop, simputation, simTool, singleRcapture, slurmR, smetlite, soma, sparta, spatialreg, spdep, spectralR, spgwr, spiderbar, splines2, sRACIPE, starsExtra, statebins, statgenGWAS, statgenHTP, statgenIBD, statgenMPP, statgenQTLxT, stringdist, subplex, subsampling, super, SurfRough, surveillance, SurvivalClusteringTree, symDMatrix, synthesizer, tabula, tanaka, tanggle, TargetSearch, td, tdsa, TENxIO, terra, textutils, tiledb, tinycodet, tinyplot, tinytable, toastui, topicmodels.etm, track2KBA, tractor.base, treePlotArea, TruncatedNormal, tsdb, TwoWayFEWeights, uaparserjs, ulid, validate, validatesuggest, vegperiod, vek, via, VIM, vip, VisiumIO, vtreat, walkboutr, wand, webmap, wooldridge, wrapr, WVPlots, x12, xmlwriter, xts, ympes

Linking:

Please use the canonical form https://CRAN.R-project.org/package=tinytest to link to this page.