首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网络技术 > 网络基础 >

junit.framework.AssertionFailedError: No tests found in异常解决方法

2012-08-25 
junit.framework.AssertionFailedError: No tests found in错误解决办法解决办法:将大写的 TestAdd() 修改

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

解决办法:

将大写的 TestAdd() 修改成 testAdd()即可,若是方法名仅为Add,请在方法名前加上test。

方法名前面不要大写

 

热点排行