Utils and 'RStudio' Addins to Make Testing Even More Fun
Get Test Coverage
Open associated test file
Test coverage of package
Generate an index of all test_that calls
Create a test skeleton file for the currently open .R file
Run tests in subdirectories
Test this file
Testthis-package
Use test subdirectories
Create testdata folder.
Use a tester function
Utility functions and 'RStudio' addins for writing, running and organizing automated tests. Integrates tightly with the packages 'testthat', 'devtools' and 'usethis'. Hotkeys can be assigned to the 'RStudio' addins for running tests in a single file or to switch between a source file and the associated test file. In addition, testthis provides function to manage and run tests in subdirectories of the test/testthat directory.