Unable to Run Certain Unit Tests

Answered

I'm running into an issue where I try and run certain unit tests but get a failure as such below. Are there any solutions to fix this? I can run the test command line and attach a debugger but I think we should be able to run these within the IDE.

 

Command line is too long. Shorten command line for <fileName> or also for JUnit default configuration
9
33 comments

I'd also same issue, I set JRE to > "JRE Path in Program files" and Shorten Line command > "JAR manifest".

Then, it will work fine.

0

Relevant discussion:
https://stackoverflow.com/a/50687472/2750743

 

Adding 

<property name="dynamic.classpath" value="true" />

inside

<component name="PropertiesComponent">

in workspace.xml worked for me

0

Please sign in to leave a comment.