1.根据测试的是否知道源码:
分为:黑盒测试:只关心程序的执行过程,结果
白盒测试:根据源代码写测试方法,或者测试用例
2.根据测试的粒度:
方法测试:function test
单元测试:unit test
集成测试:intergration test
3.根据测试的次数:
冒烟测试:smoke test (android monkey)
压力测试:pressure test
==================
作为开发人员:单元测试是用到最多的
junit单元测试;