现在的位置: 首页 > 综合 > 正文

测试的步骤: 先最小的数据量, 然后一般的数据量, 最后海量的数据

2012年09月14日 ⁄ 综合 ⁄ 共 644字 ⁄ 字号 评论关闭

输入                                        输出

        ==>    被测试对象   ==>

依赖                                        异常

 

测试的步骤:

先使用最小的数据量, 然后一般的数据量, 最后海量的数据.

  • 先用最小的数据量, 测试驱动开发, 实现基本功能, 并创建好基本的功能测试
  • 然后用正常应用中的数据量, 测试所有功能
  • 最后用海量的的数据, 测试性能和极限

注意:

  • 前一个步骤的数据都是后一个步骤数据的子集, 这样就不用修改太多的测试代码
  • 被测试对象使用哪些数据是必须由测试代码控制, 也就是说, 数据必须由测试代码送给被测试对象

Steps:

  1. Prepare test data in files
  2. Build UI prototype and develope mock components. Mock components are used for making the application look correct. 
  3. Deploy mock component and test data with UI prototype, create automated tests. After done, the tests and the mock components won't change unless the requirements change.
  4. Develope production components.
  5. Deploy production components and test data, run tests.

抱歉!评论已关闭.