Automation for Unity games
A library for game automation.
Unium is an library for unity that facilities automation. It exposes an HTTP API that can be used for tools or testing.
There are two parts:
This provides a flexible interface so you can remotely control and inspect your game as it runs. If necessary, you can add your own endpoints to the underlying web server to do custom operations.
For the tutorial
Your default browser should open automatically.
The tutorial is best experienced with the editor and browser side-by-side.
Documentation can be found in unium.pdf.
See also the FAQ
There are several ways of installing the unium library in your project.
The preferred approach
Alternatively you can
Assets/Uniumfolder directly into your project
NB: Remember to enable the
development buildflag if you are making builds (unium is disabled for release by default).
As of
v1.0.4you can use the unity packaging to add unium directly. The
upmbranch of the repository contains just the library setup for use with the package manager.
There are two ways to do this, either
cd Packages git clone --branch upm https://github.com/gwaredd/unium.git
This adds the package as a local project dependency.
Add the following dependency to your
Packages\manifest.jsonfile
{ "dependencies": { "com.gwaredd.unium": "https://github.com/gwaredd/unium.git#upm", ... } }
This caches the dependency globally.
The Unium API facilitates automated tests but is not a testing framework. Below are a number of popular frameworks that have been used with Unium.
Examples can be found in the Examples folder.