When generating tests cases with Evosuite we can pass parameters several parameters, e.g.:
$ java -jar evosuite-1.0.6.jar -listParameters
...
sandbox boolean true Execute tests in a sandbox environment
sandbox_mode SandboxMode RECOMMENDED Mode in which the sandbox is applied (Values: [OFF, RECOMMENDED
...
Normally those parameters are passed simply by -D<param>=<value>
.
However for my project I'm using Maven and not invoking Evosuite direclty from the command line.
I tried mvn -D<param>=<value>
but it doesn't seem to work. Any idea on how to accomplish that ?