exampletestr—An easy start to unit testing R packages
In spite of the utility of unit tests, most R package developers do not write them. exampletestr makes it easier to start writing unit tests by creating shells/skeletons of unit tests based on the examples in the user's package documentation. When completed, these unit tests test whether said e...
Principais autores: | , |
---|---|
Formato: | Journal article |
Publicado em: |
F1000Research
2017
|
_version_ | 1826282257370841088 |
---|---|
author | Nolan, R Padilla-Parra, S |
author_facet | Nolan, R Padilla-Parra, S |
author_sort | Nolan, R |
collection | OXFORD |
description | In spite of the utility of unit tests, most R package developers do not write them. exampletestr makes it easier to start writing unit tests by creating shells/skeletons of unit tests based on the examples in the user's package documentation. When completed, these unit tests test whether said examples run correctly. By combining the functionality of exampletestr with that of covr, having ensured that their examples adequately demonstrate the features of their package, the developer can have much of the work of constructing a comprehensive set of unit tests done for them. |
first_indexed | 2024-03-07T00:41:06Z |
format | Journal article |
id | oxford-uuid:83103b23-9d67-45a8-80ab-c7d9eae38e10 |
institution | University of Oxford |
last_indexed | 2024-03-07T00:41:06Z |
publishDate | 2017 |
publisher | F1000Research |
record_format | dspace |
spelling | oxford-uuid:83103b23-9d67-45a8-80ab-c7d9eae38e102022-03-26T21:41:44Zexampletestr—An easy start to unit testing R packagesJournal articlehttp://purl.org/coar/resource_type/c_dcae04bcuuid:83103b23-9d67-45a8-80ab-c7d9eae38e10Symplectic Elements at OxfordF1000Research2017Nolan, RPadilla-Parra, SIn spite of the utility of unit tests, most R package developers do not write them. exampletestr makes it easier to start writing unit tests by creating shells/skeletons of unit tests based on the examples in the user's package documentation. When completed, these unit tests test whether said examples run correctly. By combining the functionality of exampletestr with that of covr, having ensured that their examples adequately demonstrate the features of their package, the developer can have much of the work of constructing a comprehensive set of unit tests done for them. |
spellingShingle | Nolan, R Padilla-Parra, S exampletestr—An easy start to unit testing R packages |
title | exampletestr—An easy start to unit testing R packages |
title_full | exampletestr—An easy start to unit testing R packages |
title_fullStr | exampletestr—An easy start to unit testing R packages |
title_full_unstemmed | exampletestr—An easy start to unit testing R packages |
title_short | exampletestr—An easy start to unit testing R packages |
title_sort | exampletestr an easy start to unit testing r packages |
work_keys_str_mv | AT nolanr exampletestraneasystarttounittestingrpackages AT padillaparras exampletestraneasystarttounittestingrpackages |