This is old version. Proper genthat can be found here: https://github.com/PRL-PRG/genthat.
genthat is a framework for unit tests generation from source code and for test execution, and filtering of test cases based on C code coverage using gcov
and R code coverage using covr
.
Even thought the development of the package started sometime ago it is still rather experimental and no available from CRAN release yet. However, that is one of the near future plans to have a stable version and release it through CRAN.
It can be installed easily using the devtools
package:
library(devtools)
install_github('reactorlabs/genthat')
Or download the sources and build manually. If you're running R on Windows, you need to install Rtools.
See the provided vignettes (basic usage and manual usage) for information on how to use genthat with your packages, or code.