Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
docs(dotnet): add logging and runsettings information (#7468)
Anže Vodovnik389943ac7963
diff --git a/docs/src/test-runners-csharp.md b/docs/src/test-runners-csharp.mdindex 9fa343e2c6..fb1dd6e26f 100644--- a/docs/src/test-runners-csharp.md+++ b/docs/src/test-runners-csharp.md@@ -98,6 +98,38 @@ By default NUnit will run all test files in parallel, while running tests insideFor CPU-bound tests, we recommend using as many workers as there are cores on your system, divided by 2. For IO-bound tests you can use as many workers as you have cores.+## Using Verbose API Logs with NUnit++When you have enabled the [verbose API log](./debug.md#verbose-api-logs), via the `DEBUG` environment variable, you will see the messages in the standard error stream. In NUnit, within Visual Studio, that will be the `Tests` pane of the `Output` window. It will also be displayed in the `Test Log` for each test.++## Using the .runsettings file++When running tests from Visual Studio, you can take advantage of the `.runsettings` file.++For example, to specify the amount of workers (`NUnit.NumberOfTestWorkers`), you can use the following snippet:++```xml+<?xml version="1.0" encoding="utf-8"?>+<RunSettings>+ <NUnit>+ <NumberOfTestWorkers>24</NumberOfTestWorkers>+ </NUnit>+</RunSettings>+```++If you want to enable debugging, you can set the `DEBUG` variable to `pw:api` as documented, by doing:++```xml+<?xml version="1.0" encoding="utf-8"?>+<RunSettings>+ <RunConfiguration>+ <EnvironmentVariables>+ <DEBUG>pw:api</DEBUG>+ </EnvironmentVariables>+ </RunConfiguration>+</RunSettings>+```+## Base NUnit classes for PlaywrightThere are few base classes available to you in Microsoft.Playwright.NUnit namespace: