Skip to content
This repository has been archived by the owner on Feb 9, 2022. It is now read-only.
/ Uniject Public archive
forked from banderous/Uniject

The Testability framework for Unity3D

License

Notifications You must be signed in to change notification settings

ticking-clock/Uniject

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 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

Languages

  • C# 99.9%
  • Shell 0.1%