Skip to content

alttester/EXAMPLES-CSharp-Standalone-DragonCrasher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

DragonCrasher Example Project

This repository contains an example project designed to demonstrate how to write and run automated tests using AltTester® in a Unity project that utilizes UI Toolkit.

Overview

The example includes pre-written tests to showcase how AltTester® can be used to interact with Unity UI elements and validate behaviors. To run these tests, you need to prepare a standalone build of the example project and have AltTester® Desktop running.

Prerequisites

  1. Unity Editor: Install the Unity Editor. Version compatibility depends on the example project.
  2. AltTester®: Download AltTester® from the provided link.
  3. .NET SDK: Ensure you have the .NET SDK installed to run the tests (dotnet test).

Setup Instructions

Follow these steps to get started:

1. Create a Unity Project

  • Open Unity Hub and create a new Unity project using your preferred template.

2. Download the Example Project

3. Import AltTester® package in Unity Editor

4. Build the Standalone Game

5. Set Up AltTester® Desktop

  • Download and install AltTester® Desktop from Mac or Windows.

Running the Tests

Once the setup is complete, follow these steps to run the tests:

  1. Open the standalone build (DragonCrasher).
  2. Launch AltTester® Desktop.
  3. Navigate to the Tests folder in this repository using a terminal or command prompt.
  4. Run the following command:
    dotnet test

The tests will connect to the running game and execute automatically.

Support

If you encounter any issues, consult the AltTester® Documentation or reach out to the Discord channel.

Happy Testing! 🚀

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages