exampletestr (Q85974)
From MaRDI portal
| This is the item page for this Wikibase entity, intended for internal use and editing purposes. Please use this page instead for the normal view: exampletestr |
Help for Writing Unit Tests Based on Function Examples
| Language | Label | Description | Also known as |
|---|---|---|---|
| default for all languages | No label defined |
||
| English | exampletestr |
Help for Writing Unit Tests Based on Function Examples |
Statements
11 June 2023
0 references
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.
0 references