reallyTG / genthat

An R package for extracting unit tests from existing code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

About

An R package for extracting unit tests from existing code


Languages

Language:R 72.9%Language:C++ 13.0%Language:HTML 10.7%Language:Shell 2.0%Language:CSS 1.0%Language:Makefile 0.4%Language:Dockerfile 0.0%