IDEA中建测试类时选择路径时为什么不能在src下test文件夹下选呢?只能在**非**测试类的包下(src下main.java.com)选路径
解决方法:src/test/handle 右击,选择mark dirctory as test resources root。即可
src/test/handle 右击,选择mark dirctory as test resources root。