This repo contains a very basic sample test automation framework using Playwright and .Net Core. nUnit is the test runner used for this framework.
You will need to install .Net 8 SDK, if you haven't installed already.
- Clone this repo.
git clone https://github.com/apatelia/PlaywrightNet.git- Change to the project directory.
cd PlaywrightNet- Install the project dependencies.
dotnet restore- Run tests.
# This command prints the results to the console.
# No report document is generated.
dotnet test
# If you want a bare-bones HTML report, then use this command.
# An HTML report will be generated in "TestResults" directory.
dotnet test --logger html