IntelliJ IDEA plugin

How to Install

To install the EvoSuite plugin for IntelliJ, open the “Preferences” panel (e.g., from the toolbar). On the left-side of the panel, choose “Plugins” and, on the right-side, click on
“Browse repositories…”. The “EvoSuite Plugin” is listed under the “Unit Testing” category. Select it and click on the button “Install plugin”.



How to Run

To run EvoSuite, just select one or more classes/packages in the “Project” view, right-click
and choose “Run EvoSuite”. Tests will be generated for all the selected classes/packages. A popup will appear to show which settings to use.


Using Maven

If the project is compiled with Maven,  configure and activate the EvoSuite  Maven plugin. The IntelliJ plugin will work as wrapper for the Maven one: when generating new tests, the IntelliJ plugin will spawn a process running Maven with the right input parameters.


Non-Maven Projects

If the target project is not configured with Maven, it is still possible to generate JUnit tests with EvoSuite. However, you will need to manually download the Commandline version evosuite.jar. When in IntelliJ tests are generated with “Run EvoSuite” command, the location of this jar file will need to be specified.

Note: you will still need to manually configure the evosuite-standalone-runtime.jar to compile and run the generated tests. As such library dependency is available from Maven, you can use any build tool that can access  Maven repositories. For example, in Gradle you can use:

repositories {
    maven {
        url ""

dependencies {
    testCompile 'org.evosuite:evosuite-standalone-runtime:1.0.1'