Blog Post

Apps on Azure Blog
3 MIN READ

Microsoft Playwright Testing service now supports NUnit test runner

Vanshvsingh's avatar
Vanshvsingh
Icon for Microsoft rankMicrosoft
Nov 19, 2024

Microsoft Playwright Testing is an Azure service that accelerates builds by running tests in parallel, enhances test coverage by enabling testing across multiple operating systems and browsers, and simplifies troubleshooting with a unified dashboard for test results and artifacts. 

We are excited to announce that Playwright Testing service now supports the NUnit test runner, bringing the following benefits to .NET developers:

  • Speed up your NUnit test runs by running more .NET tests in parallel.
  • Expand test coverage by running your .NET tests across multiple operating systems and browsers.
  • Troubleshoot faster using Microsoft Playwright Testing’s rich reporting capabilities.

Faster builds with parallel test execution

As your application grows, test suite complexity increases, leading to longer execution times that slow development and delay releases. On both dev machines and CI agents, resource constraints limit the number of browsers that can run in parallel, resulting in longer wait times. With NUnit support in Playwright Testing, you can run more .NET tests in parallel across multiple cloud-hosted browsers. By offloading tests to managed infrastructure, the service eliminates resource bottlenecks, enabling simultaneous execution to speed up builds and reduce pipeline delays. This seamless integration preserves your NUnit workflow, providing faster feedback without requiring additional setup or maintenance.

Comprehensive test coverage across browsers and operating systems

Modern web applications are complex, both in features and compatibility across multiple browsers and operating systems. Testing across these configurations lengthens execution time and adds infrastructure burdens. With NUnit support in Microsoft Playwright Testing, you can easily run your .NET tests across various OS-browser combinations without the need for additional infrastructure management. The service-managed infrastructure ensures reliable test execution, whether running tests locally or in your CI pipeline.

The service’s cross-platform coverage and scalable infrastructure guarantee that your application performs flawlessly across browsers and operating systems, providing a consistent and optimized user experience.

Easy troubleshooting with reporting

As development teams scale and release new features, quickly resolving issues becomes critical to maintaining quality. Delays in issue resolution can disrupt the entire development process. With NUnit support in Playwright Testing, your team can access detailed test results from CI/CD runs of .NET tests, along with rich artifacts like error logs, screenshots, videos, and traces, all within a unified dashboard for rapid troubleshooting.

The reporting feature highlights tests that need attention, filtering results to focus on failures, so you can immediately start troubleshooting. You can easily click through each test to access all the necessary information to resolve issues. All artifacts are securely stored in a centralized location with customizable permissions.

Screen capture of Microsoft Playwright Testing reporting.

A standout feature is the Trace Viewer, which allows you to visually navigate through your NUnit test execution. You can step through tests or use the timeline to examine the page state before and after each action, including detailed logs, DOM snapshots, network activity, errors, and console output at every step for precise troubleshooting.

Screenshot of trace viewer within service dashboard.

Get started with Playwright Testing service

Getting started is simple. In just a few steps, you can integrate your NUnit test suite with Microsoft Playwright Testing. Check out our QuickStart and try the service today! 

Share your feedback

Your feedback is invaluable to us. Share your thoughts and help us improve Microsoft Playwright Testing.

Learn more about the Microsoft Playwright Testing service

Updated Nov 19, 2024
Version 1.0
No CommentsBe the first to comment