Showcase several ways to test modern applications by example of a .NET service and a React SPA.
- Demo project for test types, ignore configuration/security settings/code style
podman run --name test-db -p 5432:5432 -e POSTGRES_PASSWORD=postgres -e POSTGRES_USER=postgres -d postgresdotnet run --project src/backend/Testable.Api/Testable.Api.csprojCreate a .env file in the src/frontend directory with the following content:
BACKEND_URL=http://localhost:5266cd src/frontend
npm install
npm startcd src/backend
dotnet testcd src/frontend
npm install
npm run testcd src/frontend
npm install
npm run playwrightcd src/k6
k6 run test.js