In this chapter, you'll learn how to customize Playwright to fit your needs. Not only configuration, but all the different customization points to create your own test reporter, assertions, and more… Such tooling and utils are often called test harness. Test harness is the code we write to put a piece of software under test. There are many kinds of test harnesses like stubs, fixtures, and custom utility code. Having tailor-made tooling and utils allows you to focus on your tests.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Extending Playwright Test

  • Jean-François Greffier

摘要

In this chapter, you'll learn how to customize Playwright to fit your needs. Not only configuration, but all the different customization points to create your own test reporter, assertions, and more… Such tooling and utils are often called test harness. Test harness is the code we write to put a piece of software under test. There are many kinds of test harnesses like stubs, fixtures, and custom utility code. Having tailor-made tooling and utils allows you to focus on your tests.