项目正常能启动,但是单元测试Debug就出问题,下面是最简单好用的方法之一 ~
报错信息:
Error running 'Testtest.test1':
Command line is too long. Shorten command line for Testtest.test1 or also for JUnit default configuration?
解决办法:
在项目的 .idea / workspace.xml文件中,
<component name="PropertiesComponent">
添加一行
<property name="dynamic.classpath" value="true" />