junit.framework.AssertionFailedError: No tests found in CarTest报错解决

在idea运行一个spring的test报错junit.framework.AssertionFailedError: No tests found in CarTest,测试方法为Test1。

莫名其妙报错(jiushi),在测试方法名前加上test,即变为testTest1,运行就成功了。

猜你喜欢

转载自blog.csdn.net/weixin_56342559/article/details/130257217