Choose a testing strategy
Combine model, headless, rendering, and native UI tests.
Headless platform
Simulate input, flush dispatcher work, and run manual sessions.
Isolation and lifecycle
Control application reuse, dispatcher affinity, and cleanup.
Test runners
Run ProTest under VSTest, the xUnit executable, or Microsoft Testing Platform.
Rendering and visual tests
Enable Skia rendering, capture bitmaps, and choose stable visual baselines.
Register gesture handlers
Examples and API guidance for register gesture handlers.
Interaction recipes
Complete tests for text input, touch dragging, and frame recording.
NUnit and other frameworks
Understand the boundary between ProTest and official Avalonia NUnit support.
Native UI tests with Appium
Choose between ProTest in-process automation and external native application testing.
CI and containers
Run headless tests, collect diagnostics, and build in containers.