UnityTestingExtensions
UnityTestingExtensions copied to clipboard
Unity Test Framework Extension Library
Unity Test Extensions
A set of extensions and helpers for the Unity Test Framework.
Overview
This repository contains extensions and helpers for the Unity Test Framework.
Goals of this project
- Help developers avoid boilerplate code when creating tests in Unity.
- Include code for the most useful scenarios shown in the UTF documentation.
- Include code for scenarios shown in the Unite Copenhagen talk.
- Add other innovations and updates to UTF (also from the community).
Table of Contents
-
Installation
- Prerequisites
- Install from Unity Package Manager
- Install from GitHub source
-
Features
- LogAssertEx
- Running tests from a menu item
-
Coming Soon
- Scoped Assertions
- Build a player for tests (split build & run
- Contributors
- Contact
- License
Installation
There are a few options for installing this library in your project (see below).
Prerequisities
In order to use this library, you must install the following:
- Unity 2019.2 (or higher)
- The Unity Test Framework package.
Install from Unity Package Manager
TBD
Install from GitHub source
TBD
Features
The following section lists the avaailble features as well as planed ones.
LogAssertEx
Updates and enhancements to the LogAssert class. See this forum thread with feedback about the LogAssert class.
Running tests from a menu item
Adding the ability to execute edit mode or play mode tests from a menu item. Also, the static method used for launching tests from the menu item can be re-used and executed when running tests from the command line in batch mode.
Contributors
Contributions are welcome! Feel free to submit a new pull request with your suggested changes!
Contact
Feel free to reach out with any question, comment or feedback:
- For feature requests - open a new issue and describe your requirement.
- For general questions and feedback - feel free to email me.
License
Distributed under the MIT License. See LICENSE
for more information.