Practical Playwright Test: Next-Generation Web Testing and Automation
暫譯: 實用 Playwright 測試:下一代網頁測試與自動化

Greffier, Jean-François

  • 出版商: Apress
  • 出版日期: 2026-01-06
  • 售價: $2,230
  • 貴賓價: 9.5$2,119
  • 語言: 英文
  • 頁數: 277
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 9798868821592
  • ISBN-13: 9798868821592
  • 相關分類: selenium
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Gain cutting-edge skills in crafting reliable, efficient end-to-end tests with Playwright Test. This book is your comprehensive guide to Playwright Test that will help you to create and debug blazing fast tests, and integrate and customize Playwright Test to fit your testing needs.

The book begins with an introduction to Playwright and teaches you the fundamentals of how to write tests efficiently. The book then gets into concepts like Locators and explains how to set up a CI using Playwright Test. After this, you will gain experience in two important aspects of testing - speed and customization. You will then be taken through a deep dive into Fixtures followed by an exploration of strategies like mocking and emulation through which you can achieve more control of the testing environment. The book also provides a detailed discussion on flakiness and how Playwright Test can help you with it. It then teaches you how to automate tests and ends with a discussion on how Playwright Test changes the landscape of testing, and how to integrate it in your daily practices and testing strategy.

By reading this book, you will become an expert in the specificities of Playwright Test and how to test critical user flows, reduce bugs in production, and ultimately ship reliable software with confidence.

What You Will Learn

  • Create and debug reliable end-to-end tests efficiently with the perfect locators
  • Set up a CI using Playwright Test to get results, test reports and useful traces
  • Understand how to use and write Fixtures
  • Customize Playwright to fit your needs

Who This Book Is For

Frontend developers, full-stack developers, QA Engineers, Software Testers, Test Automation Engineers, QA Leads and QA Managers

商品描述(中文翻譯)

獲得在使用 Playwright Test 編寫可靠、高效的端到端測試方面的尖端技能。本書是您全面了解 Playwright Test 的指南,將幫助您創建和調試快速的測試,並整合和自定義 Playwright Test 以滿足您的測試需求。

本書首先介紹 Playwright,並教您如何高效地編寫測試的基本原理。接著,本書深入探討定位器(Locators)等概念,並解釋如何使用 Playwright Test 設置持續集成(CI)。之後,您將在測試的兩個重要方面獲得經驗——速度和自定義。接下來,您將深入了解 Fixtures,並探索模擬(mocking)和仿真(emulation)等策略,通過這些策略您可以更好地控制測試環境。本書還詳細討論了測試的不穩定性(flakiness)以及 Playwright Test 如何幫助您解決這個問題。然後,它教您如何自動化測試,並以討論 Playwright Test 如何改變測試格局以及如何將其整合到您的日常實踐和測試策略中作為結尾。

通過閱讀本書,您將成為 Playwright Test 的專家,了解如何測試關鍵用戶流程、減少生產中的錯誤,並最終自信地交付可靠的軟體。

您將學到的內容:
- 使用完美的定位器高效地創建和調試可靠的端到端測試
- 使用 Playwright Test 設置持續集成(CI),以獲得結果、測試報告和有用的追蹤
- 理解如何使用和編寫 Fixtures
- 自定義 Playwright 以滿足您的需求

本書適合的讀者:
前端開發人員、全棧開發人員、質量保證工程師、軟體測試人員、測試自動化工程師、質量保證主管和質量保證經理

作者簡介

Jean-François Greffier is an experienced frontend engineer. His main interests are software craft and testing. Recently awarded Microsoft MVP, he is a Playwright ambassador. He is not only an advocate, but also an open-source contributor to Playwright on documentation, bug fixes and features. He is also the maintainer of the Playwright Angular Schematic.

作者簡介(中文翻譯)

Jean-François Greffier 是一位經驗豐富的前端工程師。他的主要興趣是軟體開發和測試。最近獲得 Microsoft MVP 的榮譽,他是 Playwright 的大使。他不僅是倡導者,還是 Playwright 的開源貢獻者,負責文檔、錯誤修復和功能開發。他也是 Playwright Angular Schematic 的維護者。