Description
This is the artifact for the paper Tests from Traces: Automated Unit Test Extraction for R published at ISSTA 2018. The aim is to show how the genthat tool introduced in the paper works and can be used for extracting code from R packages, and reproduce the experiment used to evaluate it. Concretely, it reproduces the all the code snippets shown in Section 3 and the evaluation from Section 4. The artifact is composed of two parts - Genthat Overview and CRAN Experiment. The first part corresponds to the Section 3 of the paper where we introduce the tool. The second part reproduces the experiment that we used to evaluate the tool in Section 4 and reproduce Table 1, 2 and Figure 4.
Assets
Instructions
General Installation
Software Dependencies:
git docker
Hardware Dependencies:
about 8GB of disk space
General Installation:
Clone the repository fikovnik/ISSTA18-artifact: git clone https://github.com/fikovnik/ISSTA18-artifact The artifact is provided as a docker image prlprg/issta18-genthat. The image contains R 3.4 with a web version of Rstudio and a set of preinstalled R packages. Run the docker image: ./run.sh from the cloned repository. This runs the docker container in foreground making it easy to close by just issuing CTRL+C or simply closing the terminal window. It will download the already prebuilt docker image from docker hub. If you prefer to build your own, please follow the instructions at the end of this document. If you ran the docker image manually, please make sure its name is issta18-genthat. The rest of the commands shall be done in new terminal window. Please note that both evaluation parts bellow require the docker image to be running.
Provenance
The code comes from two Github repositories: - genthat -- the tool itself https://github.com/PRL-PRG/genthat developed by the authors, and - the artifact -- https://github.com/fikovnik/ISSTA18-artifact