exampletestr

From MaRDI portal
Software:85974



CRANexampletestrMaRDI QIDQ85974FDOQ85974

Help for Writing Unit Tests Based on Function Examples

Rory Nolan

Last update: 11 June 2023

Copyright license: GNU General Public License, version 3.0

Software version identifier: 1.7.0, 0.3.0, 0.4.0, 1.0.0, 1.0.1, 1.1.0, 1.1.1, 1.2.0, 1.3.0, 1.3.1, 1.4.0, 1.4.1, 1.4.2, 1.5.0, 1.5.1, 1.5.2, 1.6.0, 1.6.1, 1.6.2, 1.6.3, 1.6.4, 1.6.5, 1.7.1

Take the examples written in your documentation of functions and use them to create shells (skeletons which must be manually completed by the user) of test files to be tested with the 'testthat' package. Sort of like python 'doctests' for R.





This page was built for software: exampletestr