GithubHelp home page GithubHelp logo

randoop-maven-plugin's Introduction

randoop-maven-plugin

A plugin for using Randoop in Maven. See https://randoop.github.io for more information.

Todo

  1. Use maven dependency for Randoop as soon as available
  2. Check if if need all or which configuration parameters from Randoop should be available via Maven.
  3. Should the ErrorTest be excluded by default since it is red until code change?
  4. Fix redirect console from Randoop process into Maven for logging purposes

How to use

A brief description of needed steps.

1. Step

Install into local Maven repository:

mvn clean install

To override Randoop version 3.1.5 if needed run instead:

mvn clean install -Drevision=new.version

A new version of Randoop will be download from the GitHub releases.

2. Step

Integrate into another (local) Maven project by adding to the plugins section the following plugin:

<build>
    ...
    </plugins>
        ...
        <plugin>
            <groupId>randoop</groupId>
            <artifactId>randoop-maven-plugin</artifactId>
            <version>3.1.5</version>
            <configuration>
                <packageName>my.base.package</packageName>
            </configuration>
            <executions>
                <execution>
                    <id>generate-tests</id>
                    <goals>
                        <goal>gentests</goal>
                    </goals>
                    <phase>generate-test-sources</phase>
                </execution>
            </executions>
        </plugin>
        ...
    </plugins>
    ...
</build>

It will collect all class from the (base) package name and run Randoop.

3. Step

Run mvn clean test in the Maven project from step 2 to let the test be generated and executed.

randoop-maven-plugin's People

Contributors

bjkeller avatar zaplatynski avatar

Watchers

 avatar  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.