Android中配置单元测试
第一步: Manifest.xml中 中加入: [b][/b] 外面加入: 第2步 编写单元测试代码:必须继承自AndroidTestCase类 import android.test.AndroidTestCase; import junit.framework.Assert; public class TestLogin extends AndroidTestCase { private static final String Tag="TestLogin "; public void login() throws Throwable { } }