Introduction
The Windows projects utilize xUnit.net for performing unit testing and test automation. xUnit was chosen for ease-of-integration, its functionality, and its clarity.
Requirements
Windows 10
Visual Studios 2019 Professional
Related Jira Issues
- FNSDKEXT-93Getting issue details... STATUS
- FNSDKEXT-123Getting issue details... STATUS
- FNSDKEXT-181Getting issue details... STATUS
- FNSDKEXT-182Getting issue details... STATUS
- FNSDKEXT-243Getting issue details... STATUS
Usage
Implementing Tests
tl;dr https://xunit.net/docs/getting-started/netcore/visual-studio
Existing Projects
Basic usage of the existing testing projects requires no special setup, as they were created as xUnit test projects in the first place; review the xUnit documentation for detail-in-depth.
Creating a New Project
If a new testing project for Windows/C# needs to be created, visit the the “Getting Started” link above for a quick and simple jumping-off point.
Executing Tests
To launch a test (or suite of tests):
Open the SDK project in Android Studio.
Navigate to the testing file that contains the test (or test suite) that you would like to execute.
Click the green arrow beside the test (or test suite) that you want to run.
Note that the majority of tests require a connected Android device as well as a VictoR device that is available (i.e. at least one VictoR device that the Android device executing the test(s) can scan for and connect to).