软件测试计划与设计.pptVIP

  • 10
  • 0
  • 约6.24千字
  • 约 73页
  • 2017-11-27 发布于河南
  • 举报
软件测试计划与设计

边界值分析 * 北京中和威软件有限公司 * 因果图 * 北京中和威软件有限公司 * 举例 * 北京中和威软件有限公司 * 举例(续) * 北京中和威软件有限公司 * 对应的决策表 C1 1 0 0 0 C2 1 0 1 C3 1 0 E1 1 1 0 0 E2 0 0 0 1 E3 0 0 1 0 * 北京中和威软件有限公司 UseCase * 北京中和威软件有限公司 * * 北京中和威软件有限公司 * Use case的组成 * 北京中和威软件有限公司 * 情节的组成 * 北京中和威软件有限公司 * Use Case例子: PLACE ORDER * 北京中和威软件有限公司 * Pre-condition : A valid user has logged into the system Primary scenario: BEGIN The customer selects place order The customer into his name and address while the customer enters product codes The system displays product description and price for each item ordered The system adds the price of the item to the total order and display total The customer will enter credit card information The customer selects “Submit” The system will verify information, save the order as pending, and forward payment information to the accounting system The accounting system will conform that payment has been changed The system will mark the order “conformed” and display and order # to the customer END Post-condition : An order is entered to the system and the user is still logged into the system. 使用Use Case检查丢失的需求 Cancel Order: 在customer选择第5步“Submit”之前,可以选择“Cancel” 后条件:不保存订单,用户仍然log in * 北京中和威软件有限公司 Invalid Credit Card: 第7步accounting system通知信用卡无效 系统允许用户重新输入修改信息 Usecase从第4步开始 扩充Use Case以处理特殊情况 * 北京中和威软件有限公司 * 根据Use Case做测试用例 * 北京中和威软件有限公司 * 举例:PLACE ORDER的测试用例 * 北京中和威软件有限公司 * 测试步骤 * 北京中和威软件有限公司 * 讨论 * 北京中和威软件有限公司 * 北京中和威软件有限公司 姬孟洛 讨论 * 不符合要求的结果即认为是错误。 * 可能多个测试用例覆盖一个特定情节或条件。 不可能:测试你不知道的内容 需求的精确性是一个必须的条件 使用案例(Use Case)分析总能起作用 使用原型法不是需求没有文档化的借口 牢记:GUI只描述功能需求 * * 这是第一次分解,即明确各component的需求追踪,这是一个多对多关系。即,一个component可能与多个需求相关,一个需求可能有多个component实现。 * 作为一个整体过程,制定测试策略。 从实际测试情况看,测试确实是一个过程,它有需求→计划→设计→执行→回归。 * 许多缺陷通常遗留到动态测试发现,实际上能通过静态测试更早发现。特别是针对小型软件或大型软件的功能模块。 * #驱动程序模拟调用者的功能 #存根模拟被调模块的功能 Non-incremental integration puts all modules together and the program is tested as a whole. Usually this is not a good idea: isolation of the cause of an error is difficult. A stub simulates a not yet integrate

文档评论(0)

1亿VIP精品文档

相关文档