Coder Social home page Coder Social logo

ctg-randoop-tools's Introduction

CTG-Randoop-tools

Tools used for CTG-Randoop(Continuous Unit Test Generation with Randoop)

diagram

CTG-Randoop

CTG-Randoop, short for 'Continuous Unit Test Generation with Randoop', is a framework to allow automated continuous testing of a project, only notifying of newly-detected errors to the user. It integrates Github-Jenkins-Gerrit to automatically report newly-detected error on a new version to the team. This framework requires running Jenkins and Gerrit server.


Tools / Scripts Used

extract_dictionary.py

Python module to extract keywords from the given source code to use as Randoop test's seeds. When given input of source code path, it produces text file named 'literalsfile.txt' which contains seed constants to be used for testing of each class.

python3 extract_dictionary.py [source code path] [save file path]

filter_result.py

Python module to compare two versions to randoop testing, which are given as JSON format, and provide result of only new errors in the most recent version, depending on the heuristic chosen (10 heuristics given).

python3 filter_result.py [json of previous version] [json of current version] [heuristic number] [commit hash previous version] [commit has current version] [path to current directory] [gerrit server address] [number of results](optional)

Jenkinsfile

Example of Jenkinsfile to be used for Jenkins Pipeline. Pipeline allows users to view real-time update of the CTG-Randoop process. This file can be used by Jenkins via GUI on Jenkins server. Alteration of information(e.g. paths) are needed before use.

Related

UCC | Demo Video | Paper

Setup Guides

Jenkins
Gerrit

ctg-randoop-tools's People

Contributors

dodoyoon avatar sung-min-kim avatar

Watchers

James Cloos 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.