Skip to content

mattleibow/DeviceRunners

This branch is 22 commits ahead of main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d9dffc8 · Sep 16, 2024

History

81 Commits
Aug 19, 2024
Sep 16, 2024
Jul 20, 2023
Sep 16, 2024
Aug 17, 2024
Sep 16, 2024
Sep 16, 2024
Jul 3, 2023
Jun 30, 2023
Mar 13, 2024
Sep 11, 2024
Mar 13, 2024
Jul 7, 2023
Jun 30, 2023
Aug 21, 2024
Mar 13, 2024

Repository files navigation

Test Device Runners

A set of device runners for various testing frameworks.

The current platforms are:

  • Android
  • iOS
  • macOS (using Mac Catalyst)
  • Windows (using WinUI 3)

The current testing frameworks supported are:

  • Xunit
    • Visual device runner
    • XHarness (CI) device runner
  • NUnit
    • Visual device runner

Testing with the Visual Runner

Testing using the visual runner is just a matter of running the test app like any other app. This can be done via the CLI or in the IDE.

image image image

More information can be found in the wiki: Visual Runner in the IDE

Testing with the CLI

Test can also be run on the CLI - both locally and on CI. For tests on Android, iOS and Mac Catalyst, there is the XHarness tool. For Windows, all we need is PowerShell.

More information can be found in the wiki:

UI Testing Support

More information can be found in the wiki: UI Tests

Credits

This is repository contains revised code from a few places: