An R package for extracting unit tests from existing code
R C++ HTML Shell Other
Clone or download
Pull request Compare This branch is 340 commits ahead, 1 commit behind reactorlabs:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
R
inst
man
src
tests
tools
vignettes
.Rbuildignore
.dockerignore
.gitignore
.travis.yml
DESCRIPTION
Dockerfile
Makefile
NAMESPACE
README.md
run-parallel.sh
run.sh

README.md

genthat - test case generation for R

Build Status codecov CRAN_Status_Badge

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.

Installation

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.

Usage

Look for the genthat overview

More resources: