Orlando-pt / evosuite_defect-prediction-techniques

EvoSuite - automated generation of JUnit test suites for Java classes
http://www.evosuite.org
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Entbug #5

Open Orlando-pt opened 1 year ago

Orlando-pt commented 1 year ago

Entbug

In this issue it will be gathered information about Entbug.

How to run it

  1. Clone the repository
  2. Checkout to the master branch
  3. Create an executable jar file
    • mvn clean package -DskipITs -DskipTests
  4. Copy the master jar file to a project where evosuite can be executed. It is located at master/target/...
  5. Run the jar executable in a project
    java -jar evosuite-master-1.2.1-SNAPSHOT.jar -class tutorial.Stack -projectCP target/classes -Dsecondary_objectives="TOTAL_LENGTH:RHO" -generateSuite
Orlando-pt commented 1 year ago

This test file might be interesting to know the needed arguments for this tool. Entbug has an alternative implementation which uses it as a secondary objective.

jose commented 1 year ago

just to confirm, the -Dsecondary_objectives="TOTAL_LENGTH:RHO" works with -generateMOSuite (EvoSuite's default), right?