摘要:
Junit4断言API: http://junit.org/javadoc/latest/index.html Assert assertTrue assertTrue assertFalse assertFalse fail fail assertEquals assertEquals asser 阅读全文
posted @ 2015-11-24 17:29
Lucy&Lily
阅读(367)
评论(0)
推荐(0)
摘要:
在Robotium自动化测试的过程中,发现没有断言的脚本是没有意义的,现整理Junit3和Junit4的断言,供日后查阅。 http://junit.org/ Junit3断言API: http://www.cs.rice.edu/~javaplt/javadoc/junit3.8.2/junit/ 阅读全文
posted @ 2015-11-24 17:24
Lucy&Lily
阅读(407)
评论(0)
推荐(0)
摘要:
Robotium判断测试结果的方法主要有三类:assert、is、search。assert方法除了Robotium API,还有Junit中的所有断言方法,Junit的断言方法下篇详解。void assertCurrentActivity (String message, Class activi... 阅读全文
posted @ 2015-11-24 13:15
Lucy&Lily
阅读(269)
评论(0)
推荐(0)
浙公网安备 33010602011771号