Skip to content

banderous/Uniject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

The Testability framework for Unity3D

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •