docs/testing.md
When contributing to this project, unit and integration tests should be run to help prevent new bugs and regressions.
Tests should be run with a VSTest-compatible client (i.e. VSTest.Console.exe, Visual Studio Test task). This project includes convenience scripts to set up and run the test artifacts.
Implemented in the React.Windows.Desktop.UnitTests project. Isolated, self-contained tests covering concrete implementations against mock dependencies and data.
& Scripts\UnitTests.ps1
Implemented in the React.Windows.Desktop.IntegrationTests project. Higher-level workflows interacting with real external dependencies (i.e. file system, networking servers). These tests can run on the local development host.
# Starts test services and runs tests.
& Scripts\IntegrationTests.ps1
Implemented in packages/e2e-test-app
Please follow Author and Run E2E Test for React Native Windows for E2E Tests