add a readme
msbuild / build (push) Failing after 5s Details

This commit is contained in:
Greg Gauthier 2024-02-27 14:59:01 +00:00
parent 436c19073c
commit c8da398fb8
1 changed files with 32 additions and 0 deletions

32
README.md Normal file
View File

@ -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
```