课程编码
jbehave
课程时长
7 小时 通常来说是1天,包括中间休息。
要求
- Basic Java programming experience
- Experience with testing and knowledge of automated testing
课程概览
J Behave是一个基于Java的开源BDD框架,用于以自然语言风格编写测试。 BDD或行为驱动开发是一种敏捷的软件开发技术,它鼓励软件项目中的开发人员,QA和非技术业务人员之间的协作。
本培训从讨论BDD开始,以及如何使用J Behave框架对Web应用程序进行BDD测试。参与者有充分的机会与教师和同伴互动,同时实施在这个动手实践的实践环境中学到的概念和策略。
在本次培训结束时,参与者将对BDD和J Behave有深入的了解,以及为实际软件测试场景编写测试用例的必要实践和工具集。
听众
- 测试人员和开发人员
课程形式
- 非常注重动手练习。大多数概念都是通过样本,练习和实践开发来学习的。
Machine Translated
课程大纲
Introduction
- Business Driven Development (BDD) and Acceptance Test Driven Development (ATDD)
- BDD as a collaboration tool for software engineers, test engineers and business people
Defining your project requirements
Setting up your environment for web application testing
Writing your stories in a user-friendly language
The anatomy of a textual scenario
Writing your first textual scenario
Writing and annotating the Java method
Passing parameters to the method
Passing multiple arguments
Sharing data between methods
Organizing your scenarios
Setup and teardown
Closing remarks