Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1.04 KB

TESTS.md

File metadata and controls

42 lines (29 loc) · 1.04 KB

Testing Guide

This project is structured to support .NET 10 testing workflows, including guidance aligned with Microsoft Testing Platform.

Main references

Recommended test layout

tests/
  AndroidWasm.Tests/
  AndroidWasm.Integration/

Create test projects

dotnet new mstest -n AndroidWasm.Tests -o tests/AndroidWasm.Tests
dotnet add tests/AndroidWasm.Tests/AndroidWasm.Tests.csproj reference androidwasm.csproj

Optional integration/UI tests:

dotnet new xunit -n AndroidWasm.Integration -o tests/AndroidWasm.Integration

Run tests

task test
task test:unit
task test:ui

Notes

  • Taskfile.yml includes test targets expected by this guide.
  • If integration tests are not scaffolded yet, task test:ui will fail until the project exists.