stub.tests: Generate unit tests for your helper functions.

Description Usage Value Examples

Description

This function will parse all of the functions defined in files inside of the lib directory and will generate a trivial unit test for each function. The resulting tests are stored in the file tests/autogenerated.R. Every test is excepted to fail by default, so you should edit them before calling test.project.

Usage

1

Value

No value is returned; this function is called for its side effects.

Examples

1
2
3
library('ProjectTemplate')

## Not run: stub.tests()

KentonWhite/rsangole-201-rstudio documentation built on May 24, 2019, 2:33 p.m.