From c8da398fb8c2a5a11de6eac22080a7b94a3d2142 Mon Sep 17 00:00:00 2001 From: Greg Gauthier Date: Tue, 27 Feb 2024 14:59:01 +0000 Subject: [PATCH] add a readme --- README.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..0404423 --- /dev/null +++ b/README.md @@ -0,0 +1,32 @@ +# Web Test Practice + +A simple .Net 7 website, with a playwright framework for testing. + +## Prerequisites + +* Debian >=11 +* Dotnet SDK 7.0 +* Powershell 7.2 + +## Build / Test + +**Web App** +```bash +cd MyWebApp +dotnet build +# Put the webapp in the background so we can run the tests +exec dotnet run & +``` + +**Playwright Tests** +```bash +cd PlaywrightTests +dotnet build + +# If your local setup isn't complete, you'll need to +# install the playwright dependencies and webdrivers: +pwsh bin/Debug/net7.0/playwright.ps1 install +pwsh bin/Debug/net7.0/playwright.ps1 install-deps + +dotnet test +``` \ No newline at end of file