Перейти к содержимому

Episode 10: NUnit TestFixture & Hooks in Playwright | Setup and Teardown | Codecaf

Codecaf

0:00 / 0:00

Episode 10: NUnit TestFixture & Hooks in Playwright | Setup and Teardown | Codecaf

9 просмотров · 3 нед. назад
Codecaf
3 подписчика
9 просмотров · 3 нед. назад
Learn how to use NUnit TestFixture and test lifecycle hooks to organize Playwright tests. In this episode, we'll look at how TestFixture, SetUp, TearDown, OneTimeSetUp, and OneTimeTearDown work and when to use each one. We'll see how these hooks can help prepare and clean up test data, pages, browsers, or other resources before and after tests. This builds on the PageTest approach from the previous episodes and helps you organize your Playwright test classes more effectively.