Automated and Idempotent Unit Tests Documentation for Reproducible Quality Assurance

Automates documentation of test_that() calls within R test files. The package scans test sources, extracts human-readable test titles (even when composed with functions like paste() or glue::glue(), ... etc.), and generates reproducible roxygen2-style listings that can be inserted both globally and per-section. It ensures idempotent updates and supports customizable numbering templates with hierarchical indices. Designed for developers, QA teams, and package maintainers seeking consistent, self-documenting test inventories.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("testthatdocs")

1.0.23 by Rafal Urniaz, a year ago


https://github.com/urniaz/testthatdocs


Report a bug at https://github.com/urniaz/testthatdocs/issues


Browse source code at https://github.com/cran/testthatdocs


Authors: Rafal Urniaz [aut, cre] (ORCID:


Documentation:   PDF Manual  


MIT + file LICENSE license


Suggests testthat, glue, knitr, rmarkdown, withr


See at CRAN