IDEA写junit测试用例时报class not found:...empty test suite

原本test文件夹错误设置在了src=》main下面。
我将test目录移动到了与main平级。
再shift+ctrl+f10,控制台报错“class not found:…empty test suite”
搜了搜,shift+ctrl+alt+s,到设置界面。
重新设置了下目录。再运行。

IDEA写junit测试用例时报class not found:...empty test suite_第1张图片

你可能感兴趣的:(IDEA写junit测试用例时报class not found:...empty test suite)