摘要: 一.Junit 1.怎么使用 在AndroidManifest.xml文件中进行配置, 在manifest借点下配置instrumentation, 在application借点下配置uses-library 定义类继承AndroidTestCast 定义测试方法, Run As JunitT... 阅读全文
posted @ 2014-10-20 11:05 骄阳08 阅读(757) 评论(0) 推荐(0) 编辑
摘要: 1、新建立一个Android工程package com.shellway.junit;public class Service { public int divide(int a,int b){ return a/b; }}Service.java.作为被测试类... 阅读全文
posted @ 2014-10-20 07:56 骄阳08 阅读(2572) 评论(0) 推荐(0) 编辑