1. 首页
  2. 编程语言
  3. 其他
  4. Android测试框架RoboSpock.zip

Android测试框架RoboSpock.zip

上传者: 2019-09-24 04:25:51上传 ZIP文件 306.3KB 热度 30次
RoboSpock是一个开源的Android测试框架。提供简单的编写BDD行为驱动开发规范的方法,使用Groovy语音,支持GoogleGuice库。RoboSpock合并了Robolectric和Spock的功能。示例代码:def "should display hello text"() {    given:    def textView = new TextView(Robolectric.application)    and:    def hello = "Hello"    when:    textView.setText(hello)    t
下载地址
用户评论