Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 1.46 KB

README.md

File metadata and controls

42 lines (30 loc) · 1.46 KB

Uniject

The testability framework for Unity3D, offering:

  • Plain Old C Sharp, testable MonoBehaviour equivalents
  • Unit/integration test your code outside of Unity in your IDE of choice
  • A robust and flexible way of creating GameObjects automatically, by inference of the code that drives them
  • Constructors!
  • An extremely flexible code base – in short, the benefits of Dependency injection + Inversion of control
Prerequisites
  • MonoDevelop 3.0 - NOT the Unity bundled version

The Unity bundled version of Monodevelop is borked; the unit test runner is broken. Get the latest version from monodevelop.com

To get started
  • Open the project in Unity
  • Choose Assets/Sync Monodevelop project to rebuild the Unity managed csproj files
  • In MonoDevelop 3.0, open the test project at /src/test/Test.sln
  • Run the unit tests
  • Load and run the example scenes within Unity
To build and run the Unit tests from the terminal (OSX)

Run BUILD.sh

To run the example scene

Open the project in Unity and load the 'example' scene.

Read more about Uniject