Literature DB >> 28748220

exampletestr-An easy start to unit testing R packages.

Rory Nolan1, Sergi Padilla-Parra1,2.   

Abstract

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.

Entities:  

Keywords:  R; covr; exampletestr; test; testing; testthat; unit

Year:  2017        PMID: 28748220      PMCID: PMC5500893          DOI: 10.12688/wellcomeopenres.11635.2

Source DB:  PubMed          Journal:  Wellcome Open Res        ISSN: 2398-502X


  1 in total

1.  Software engineering principles to improve quality and performance of R software.

Authors:  Seth Russell; Tellen D Bennett; Debashis Ghosh
Journal:  PeerJ Comput Sci       Date:  2019-02-04
  1 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.