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