Skip to content

brunocapdevila/unium

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unium

A library for game automation.

Unium is an automation library for unity projects.

It provides a remote API intended for tools and automated testing.

There are two parts:

  • A web server that is embedded into the game
  • A query language that lets you search and manipulate the scene graph

This provides a flexible interface so you can remotely control and inspect your game as it runs.

Getting Started

Tutorial

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.

Installing Unium

To add unium to your project.

  • Add the Unium library to your project (either import a release package or copy the Assets/Unium directory)
  • Add the UniumComponent to an empty game object in your scene
  • Enjoy

NB: Remember to enable the development build flag if you are making builds (unium is disabled for release by default).

Notes

Writing Tests

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 Extras folder.

Compatibility

  • Compatible with Unity 2017.4.30 and up
  • The aim to is to keep it compatible with the lowest LTS version officially supported by Unity

Philosophy

It should just work

You should not have to modify you game in any way in order to automate it.

It should work for game developers

It should fit with game developer ways of working.

The intended audience is game developers first and technical testers second. It should not compromise their experience with other considerations.

It should not lock you into a specific language or framework

You should be able to write your automation and test scripts in any language or framework you choose. Unium should come with no dependencies or stipulations.

It should be open source

Both in spirit and practice.

Tutorial Video

Unium Tutorial Video

Demonstration of Unium and Appium working together

Unium with Appium

About

Automation for Unity games

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 49.7%
  • CSS 20.0%
  • JavaScript 14.3%
  • CoffeeScript 8.6%
  • HTML 6.5%
  • Python 0.7%
  • Other 0.2%