Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

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-93 - Getting issue details... STATUS

FNSDKEXT-123 - Getting issue details... STATUS

FNSDKEXT-181 - Getting issue details... STATUS

FNSDKEXT-182 - Getting issue details... STATUS

FNSDKEXT-243 - Getting 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):

  1. Open the SDK project in Android Studio.

  2. Navigate to the testing file that contains the test (or test suite) that you would like to execute.

  3. 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).

  • No labels