junit.framework.AssertionFailedError: No tests found in错误解决办法



public void TestIDcard() throws Exception{}



报错:junit.framework.AssertionFailedError: No tests found in。。。。。。。。。。。。。。。。。。。


解决办法:

在测试办法前面加test,即把TestIDcard()改为testIDcard()。这样后就可以运行了

posted on 2012-06-25 13:16  王大王  阅读(687)  评论(0)    收藏  举报

导航