AltUnity Tester Editor¶
The GUI refers to the “AltUnityTesterEditor” window that is displayed when adding the altUnity Tester package in Unity.
In the following sections you can see a breakdown of all the sections in the GUI.
displays all the available tests from the project folder
user can select what tests to run by checking the checkbox next to their name
user can either check each test individually or check the whole class of tests
tests that passed have a green checkmark while tests that failed are shown with a red x icon
Test Log Summary: contains a log for why a test has failed (see right side of screenshot)
Your build files are available in the configured Output Path.
By default, the Output Path is a folder with the same name as your game.
The file extension will be set automatically based on Platform, if game name in Output Path has no extension.
Company Name: company name used for the game build (same with Unity’s Player Settings)
Product Name: the company name (same with Unity’s Player Settings)
Lets you see where on screen an action (e.g. swipe or click) happens.The action position is marked on the screen with a red circle.
To activate this option before build check the “Input visualizer” checkbox.
|Input Visualizer Disabled||Input Visualizer Enabled|
You can also activate this option from within the test using the following code:
If this option is checked, it will display the “AltUnityTester” popup in game containing the text “Waiting for connection on port 13000”.That means the build contains the AltUnity Tester.Popup will disappear once the tests are started.
Append “Test” to product: will add “Test” to the product name
Display scene full path: displays the full path where the scenes are located
Add Scene: displays all the scenes in the project. User can add scenes to the “Scene Manager” from the “Add Scene” popup
Action buttons (add / select / remove scenes)
Request separator & Request ending
When sending a request to the AltUnity Server, each command is separated by the Request Separator and finishes with the Request ending character.
For example, in Java, you’ll see something like this in the log:
Sending rpc message [loadScene;Scene 2 Draggable Panel;&].
These characters should be changed (when making a game build) if a UI element in your game has one of them as element identifier.
For example, if you have an element named as
item1; item2and you want to find that element by using its name.
Refers to the port used by the AltUnity Server running inside the game.
You can change this value and make a new game build if you want to use another port.
In this section you can setup Port Forwarding on your device.
Your device needs to be connected to the computer through USB and you need to click the Refresh button in the section to view it in the list.
Build & Run Settings¶
* Build Only
* Play in Editor * Build & Run
Run Tests Settings
* Run All Tests * Run Selected Tests * Run Failed Tests
Run Tests does not use the options set in the Platform section.