https://github.com/alttester/ex-nis-leantouch-csharp
https://github.com/alttester/ex-nis-leantouch-csharp
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/alttester/ex-nis-leantouch-csharp
- Owner: alttester
- Created: 2022-09-20T07:48:39.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-04-22T07:57:14.000Z (over 1 year ago)
- Last Synced: 2025-04-22T08:45:29.045Z (over 1 year ago)
- Language: HTML
- Size: 1.95 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LeanTouch - CSharp tests
This project contains C# AltTester® tests for a project using the New Input System.
The tested actions are: swipe, multipoint swipe, tap at coordinates and begin/end touch.
## Before running the tests
❗ Starting with version 2.0.0, the AltTester® Desktop must be running on your PC while the tests are running.
- Download and install the AltTester® Desktop from [here](https://alttester.com/downloads/), then open it.
- To run the tests, you must include the AltTester® Unity SDK in the project. To do that, you can choose between the following ways:
1. Add the AltTester® Unity SDK submodule to the project
- use ``git submodule update --init`` command to pull the git submodule;
- make sure that the submodule added is on the master branch (you can use the following command ``git checkout master`` in the Assets/AltTester-Unity-SDK folder);
- also, if you already have the project, you should make a ``git pull`` on the master branch, in order to ensure that you are using the latest version of AltTester.
2. Download AltTester® Unity SDK and import it into Unity
- download the AltTester® Unity SDK from the AltTester® website (https://alttester.com/downloads/) or using this link https://alttester.com/app/uploads/AltTester/sdks/AltTesterUnitySDK.unitypackage;
- import the package into the project (drag-n-drop the package in the Assets folder);
- a pop-up will appear, select All and click on Import.
## Run the tests
You can open the project in the Unity Editor and run the tests from the AltTester® Editor window.
The tests can be found in the Editor folder in the AltTester_NIS_tests class.