问题现象
IDEA运行单元测试报错Error running 'MyTest.testException': Command line is too long. Shorten command line for MyTest.testException or also for JUnit default configuration.
解决步骤
找到项目workspace.xml
<property name="dynamic.classpath" value="true" />
添加