认识BDD行为驱动开发_认识Cucumber_2015年3月题库.ppt

认识BDD行为驱动开发_认识Cucumber_2015年3月题库.ppt

Agile specifications, BDD and Testing eXchange TDD 当前面向单元测试 xUnit 组织测试代码,执行测试代码,提供辅助工具(断言) Mock对象模拟对象可以模拟复杂的、真实的(非模拟)对象的行为, 如果真实的对象无法放入单元测试中,使用模拟对象就很有帮助。框架用来快速的建立模拟对象。 Introducing BDD 1、用于执行专用行为语言的 Gherkin提供一个可读性很强的DSL Feature文件 支持多种语言 一个文件有多个场景 实例化需求 认识BDD行为驱动开发 认识Cucumber 2015年3月 成都 什么是BDD Behaviour-Driven Development is a second-generation, outside-in, pull-based, multiple-stakeholder, multiple-scale, high-automation, agile methodology. It describes a cycle of interactions with well-defined outputs, resulting in the delivery of working, tested software that matters. --November 2009 i

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档