GithubHelp home page GithubHelp logo

gentests-recommend's Introduction

This file provides instructions on how to interactively use Randoop to create inputs.

Environment configuration:

  1. Download the following files and store in a common directory

http://www.evosuite.org/files/SF110-20130704.zip
http://www.evosuite.org/files/SF110-20130704-src.zip

  1. Extract those files in that directory

  2. Update variable SF110_DIR on bash script ./config to point to that directory


The directory 1_tullibee on this repository stores scripts to run Randoop on the the program with the same name (from the SF110 benchmark). Please, cd to that directory. Before you proceed with the execution of Randoop, you need to know that the script "s" automates the execution of the following tasks:

The script s...

  1. Compiles class TestValues [1] containing factory methods. These factory methods are used by Randoop to create input data that it could not produce by creating input sequences, i.e., invoking application methods. Look at directory additionalvalues.

  2. Generates tests with Randoop.

  3. Compiles the tests Randoop generated.

  4. Computes coverage for those tests.

Follow the instructions below to run Randoop on that project.

Instrucions (to use Randoop interactively):

  1. Run script "s"

  2. Check coverage reports produced on the html directory. Open index.html in a browser.

  3. Choose a program location that was not covered.

  4. Monitor the execution of tests to understand/diagnose why your program location was not covered.

  5. Update TestValues [1] by creating new inputs to help Randoop "unblock".

  6. Update the file targets.txt as you go.


[1] See additionalvalues/gentests_recom/TestValues.java

Enjoy, Marcelo

gentests-recommend's People

Contributors

acrc2 avatar aldibergjr avatar arma29 avatar barbosamaatheus avatar claudiocarvalhoo avatar damorim avatar danbsts avatar fehaa avatar gabritto avatar galilasmb avatar laissf avatar lucas-cardosoo avatar lucasbarross avatar marcelabc avatar raquelmsantos avatar rodz avatar viniciussiqueira54 avatar vtlscin avatar zaulao avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.