robotium产生junit形式的报告

来源:互联网 发布:雷欧奥特曼mac装备 编辑:程序博客网 时间:2024/06/02 03:28

mainifest.xml里面加下runner的声明,记得改下target为被测应用的包的路径

改自定义runner继承这个类PolideaInstrumentationTestRunner

 

详见: 

https://code.google.com/p/the-missing-android-xml-junit-test-runner/

 

跑完会产生这种形式的report :


原创粉丝点击