Skip to content

Commit b72f108

Browse files
committed
Added README.md in Assets/HoloToolkit-UnitTests
1 parent 4b466b4 commit b72f108

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# HoloToolkit-UnitTests
2+
This folder will host unit tests that test individual HoloToolkit-Unity components.
3+
4+
#### Creating a unit test:
5+
6+
1. Unit tests can be located anywhere under an Editor folder but consider placing it under the HoloToolkit-UnitTests\Editor folder so that HoloToolkit-Unity can be easily deployed without the tests if required.
7+
2. Use the **NUnit 2.6.4** features to create the tests.
8+
3. Cover us much as possible the new code so that other people can test your code even without knowing its internals.
9+
4. Execute all the tests before submitting a pull request.
10+
11+
#### Running the unit tests:
12+
13+
1. Unit tests execution is integrated into the Unity editor (since 5.3).
14+
2. Open the **Editor Tests** window by clicking on the menu item **Window** | **Editor Tests Runner**.
15+
3. Click on the buttons **Run All**, **Run Selected** or **Run Failed** to run the tests.
16+

Assets/HoloToolkit-UnitTests/README.md.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)