課程簡介

介紹

  • Unit Testing 工作原理

Java腳本單元測試框架概述

  • 茉莉花,摩卡,Jest,柴,QUnit
  • 單元測試用例

設置測試環境

  • 下載和安裝庫
  • 安裝和配置 IDE
  • 設置範例應用程式

編寫第一個單元測試

  • 設置測試
  • 編寫測試定義
  • 使用嵌套作用域
  • 創建斷言
  • 運行單元測試

調試單元測試

  • 單步執行代碼
  • 創建斷點
  • 設置調試任務

擴展單元測試

  • 編寫複雜的 Javascript 類
  • 編寫存根和類比
  • 創建測試套件

實現 TDD 和 BDD

  • 創建自動化規範
  • 與用戶和測試人員協作

編寫更多測試

  • 測試 Node.js
  • HTTP 終結點單元測試
  • 測試 REST API
  • 編寫集成測試
  • 測試 React 元件(選擇)

故障排除

總結和結論

最低要求

  • 對單元測試的一般瞭解
  • Javascript 程式設計經驗
  • 使用 Node.js 的經驗
 7 時間:

人數



每位參與者的報價

客戶評論 (5)

相關課程

Test Automation with Selenium and Katalon Studio

14 時間:

Automation Testing with Cypress

14 時間:

Watir: Web Test Automation with Ruby

21 時間:

Testing React Apps with Jest

14 時間:

Iridium: Cucumber and Selenium Based Testing

7 時間:

Testing Angular Applications

14 時間:

Protractor: End-to-End Testing for Angular Web Applications

14 時間:

Advance Test Automation in Java using Selenium with continuous integration and version control

35 時間:

Advanced Selenium

14 時間:

Advanced Selenium with C#

14 時間:

Selenium C# Test Automation

14 時間:

Selenium with Jenkins and Docker

14 時間:

Selendroid: Automated Testing for Android

7 時間:

課程分類