Skip to content

alexandrehtrb/AvaloniaUITestExample

Repository files navigation

Avalonia UI Test example

This is an example of a custom UI test framework for Avalonia, based on Android Espresso.

The UI tests here run on the main app code, but are only included in the Release app if a certain preprocessor directive is specified during compilation:

dotnet run --configuration Release -p:UITestsEnabled=true

Check the .csproj file to understand how the UITestsEnabled compilation flag removes the UI tests code and enables the UI_TESTS_ENABLED compiler directive.

About

Example of UI testing on Avalonia app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages