Can't launch junit tests from Intellij 13.1

When trying to lauch a test with additional program parameters I can see the following:

<PATH>\JDK64\1.6.0.31.1\bin\java -ea -Didea.launcher.port=7544 -Didea.launcher.bin.path=C:\IntelliJ.13.1\bin -Dfile.encoding=UTF-8 -classpath <SOME_CP_HERE> com.intellij.rt.execution.application.AppMain com.intellij.rt.execution.junit.JUnitStarter -ideVersion5 "@name-Dparam1=x -Dparam2=y" some.package.for.MyTest

Any suggestions?

Thanks,
Alex

2 comments
Comment actions Permalink

Hello.

Prefix "-D" gives me a hint that you need to fill not "Program argumants", but "VM options" field.

However, in any case the corruption of parameters looks like a bug. Thank you for reporting, I will create an issue in the bug tracker.

Regards,
Alexander.

0
Comment actions Permalink

Very true! Don't know what I was thinking about, obviously I put params in a wrong place.

Thanks Alexander,

Alex

0

Please sign in to leave a comment.