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('PRL-PRG/genthat')
Or download the sources and build manually.
Look for the genthat overview
More resources: