The project employs multiple additional testing strategies for high coverage and robust quality control:
BUnit tests are located in the tests/Blazor.UI.UnitTests directory
This repo gives multiple of examples and techniques to running UI automated tests using Playwright.
-
Playwright using WebApplicationFactory
Path: ../tests/InMemorySystemTests -
Playwright using Test Containers and WebApplicationFactory
Path: ../tests/TestContainersSystemTests -
Playwright using Docker
Path: ../tests/DockerSystemTests **In Progress -
Playwright using Azure Playwright Testing
Path: **In Progress -
Playwright using TypeScript
Path: ../tests/e2e **In Progress
The build-and-test.yml workflow is a Continuous Integration (CI) pipeline designed to automate building, testing, and publishing artifacts for a .NET project. It utilizes GitHub Actions to streamline the CI/CD process, covering various testing stages from unit to system tests. This pipeline is triggered on pushes to the main branch and ensures consistent, repeatable build and test processes for the project.
Workflow Summary The workflow consists of several jobs, each targeting specific stages of the CI process:
- Build Solution: Compiles the .NET solution.
- Build Web Assets: Builds frontend or web assets required by the application.
- Build Tests: Compiles test projects, including unit, integration, functional, and system tests in parallell.
- Run Tests: Executes various tests (unit, integration, functional) in parallell.
- Run System Tests: Executes system tests in different browser environments.
- Publish Service Artifacts: Publishes the artifacts as Docker images, enabling deployment