Course Code: behat
Duration: 14 hours
Prerequisites:
  • 具有测试经验和自动化测试知识
  • 具有 PHP 编程经验
Overview:

Behat 是用 PHP 编写的 Behavior Driven Development (BDD) 测试框架。它促进了开发人员、测试人员、业务利益相关者和客户在软体开发过程中的沟通。Behat 允许非技术人员编写应用程式预期行为的清晰描述,然后将这些“场景”作为针对应用程式的功能测试运行。

在这个讲师指导的现场培训中,参与者将学习如何使用 Behat 和 PHP 编写和执行 BDD 风格的测试用例。

在本次培训结束时,参与者将能够:

  • 运行以人类可读的 “Given, When, Then” Gherkin 语言编写的自动化测试
  • 使用基于 Behat 的测试用例来改善技术和非技术团队之间的协作
  • 将 Behat 与 Selenium、Mink、Goutte 和其他浏览器模拟器集成,以驱动测试并生成报告
  • 通过其扩展系统扩展 Behat 功能
  • 通过终端命令、REST API 等测试多种使用场景。

观众

  • 测试工程师
  • 开发人员

课程形式

  • 部分讲座、部分讨论、练习和大量动手实践
Course Outline:

介绍

  • Business 驱动开发 (BDD) 和验收测试驱动开发 (ATDD)
  • BDD 作为软件工程师、测试工程师和业务人员的协作工具

定义项目要求

设置用于 Web 应用程序测试的环境

Gherkin:用用户友好的语言写你的故事

功能文件的剖析

编写第一个功能

为功能编写方案

编写步骤定义

将参数传递给 Steps

创建方案大纲以传递多个参数

在步骤之间共享数据

使用标记组织功能和方案

设置和拆卸

结束语

Sites Published:

United Arab Emirates - Behat: Behavior Driven Development (BDD) with PHP

Qatar - Behat: Behavior Driven Development (BDD) with PHP

Egypt - Behat: Behavior Driven Development (BDD) with PHP

Saudi Arabia - Behat: Behavior Driven Development (BDD) with PHP

South Africa - Behat: Behavior Driven Development (BDD) with PHP

Brasil - Behat: Behavior Driven Development (BDD) with PHP

Canada - Behat: Behavior Driven Development (BDD) with PHP

中国 - Behat: Behavior Driven Development (BDD) with PHP

香港 - Behat: Behavior Driven Development (BDD) with PHP

澳門 - Behat: Behavior Driven Development (BDD) with PHP

台灣 - Behat: Behavior Driven Development (BDD) with PHP

USA - Behat: Behavior Driven Development (BDD) with PHP

Österreich - Behat: Behavior Driven Development (BDD) with PHP

Schweiz - Behat: Behavior Driven Development (BDD) with PHP

Deutschland - Behat: Behavior Driven Development (BDD) with PHP

Czech Republic - Behat: Behavior Driven Development (BDD) with PHP

Denmark - Behat: Behavior Driven Development (BDD) with PHP

Estonia - Behat: Behavior Driven Development (BDD) with PHP

Finland - Behat: Behavior Driven Development (BDD) with PHP

Greece - Behat: Behavior Driven Development (BDD) with PHP

Magyarország - Behat: Behavior Driven Development (BDD) with PHP

Ireland - Behat: Behavior Driven Development (BDD) with PHP

Luxembourg - Behat: Behavior Driven Development (BDD) with PHP

Latvia - Behat: Behavior Driven Development (BDD) with PHP

España - Behat: Desarrollo impulsado por comportamiento (BDD) con PHP

Italia - Behat: Behavior Driven Development (BDD) with PHP

Lithuania - Behat: Behavior Driven Development (BDD) with PHP

Nederland - Behat: Behavior Driven Development (BDD) with PHP

Norway - Behat: Behavior Driven Development (BDD) with PHP

Portugal - Behat: Behavior Driven Development (BDD) with PHP

România - Behat: Behavior Driven Development (BDD) with PHP

Sverige - Behat: Behavior Driven Development (BDD) with PHP

Türkiye - Behat: Behavior Driven Development (BDD) with PHP

Malta - Behat: Behavior Driven Development (BDD) with PHP

Belgique - Behat: Behavior Driven Development (BDD) with PHP

France - Behat: Behavior Driven Development (BDD) with PHP

日本 - Behat: Behavior Driven Development (BDD) with PHP

Australia - Behat: Behavior Driven Development (BDD) with PHP

Malaysia - Behat: Behavior Driven Development (BDD) with PHP

New Zealand - Behat: Behavior Driven Development (BDD) with PHP

Philippines - Behat: Behavior Driven Development (BDD) with PHP

Singapore - Behat: Behavior Driven Development (BDD) with PHP

Thailand - Behat: Behavior Driven Development (BDD) with PHP

Vietnam - Behat: Behavior Driven Development (BDD) with PHP

India - Behat: Behavior Driven Development (BDD) with PHP

Argentina - Behat: Desarrollo impulsado por comportamiento (BDD) con PHP

Chile - Behat: Desarrollo impulsado por comportamiento (BDD) con PHP

Costa Rica - Behat: Desarrollo impulsado por comportamiento (BDD) con PHP

Ecuador - Behat: Desarrollo impulsado por comportamiento (BDD) con PHP

Guatemala - Behat: Desarrollo impulsado por comportamiento (BDD) con PHP

Colombia - Behat: Desarrollo impulsado por comportamiento (BDD) con PHP

México - Behat: Desarrollo impulsado por comportamiento (BDD) con PHP

Panama - Behat: Desarrollo impulsado por comportamiento (BDD) con PHP

Peru - Behat: Desarrollo impulsado por comportamiento (BDD) con PHP

Uruguay - Behat: Desarrollo impulsado por comportamiento (BDD) con PHP

Venezuela - Behat: Desarrollo impulsado por comportamiento (BDD) con PHP

Polska - Behat: Behavior Driven Development (BDD) with PHP

United Kingdom - Behat: Behavior Driven Development (BDD) with PHP

South Korea - Behat: Behavior Driven Development (BDD) with PHP

Pakistan - Behat: Behavior Driven Development (BDD) with PHP

Sri Lanka - Behat: Behavior Driven Development (BDD) with PHP

Bulgaria - Behat: Behavior Driven Development (BDD) with PHP

Bolivia - Behat: Desarrollo impulsado por comportamiento (BDD) con PHP

Indonesia - Behat: Behavior Driven Development (BDD) with PHP

Kazakhstan - Behat: Behavior Driven Development (BDD) with PHP

Moldova - Behat: Behavior Driven Development (BDD) with PHP

Morocco - Behat: Behavior Driven Development (BDD) with PHP

Tunisia - Behat: Behavior Driven Development (BDD) with PHP

Kuwait - Behat: Behavior Driven Development (BDD) with PHP

Oman - Behat: Behavior Driven Development (BDD) with PHP

Slovakia - Behat: Behavior Driven Development (BDD) with PHP

Kenya - Behat: Behavior Driven Development (BDD) with PHP

Nigeria - Behat: Behavior Driven Development (BDD) with PHP

Botswana - Behat: Behavior Driven Development (BDD) with PHP

Slovenia - Behat: Behavior Driven Development (BDD) with PHP

Croatia - Behat: Behavior Driven Development (BDD) with PHP

Serbia - Behat: Behavior Driven Development (BDD) with PHP

Bhutan - Behat: Behavior Driven Development (BDD) with PHP

Nepal - Behat: Behavior Driven Development (BDD) with PHP

Uzbekistan - Behat: Behavior Driven Development (BDD) with PHP