This repository was archived by the owner on Dec 19, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Tests
Jacob Moss edited this page Jul 30, 2018
·
5 revisions
Last Update: 21/12/2017
Tests are found in the Assembly-CSharp-Editor project and are not included with the game build. The path is Editor/Tests.
We tend to split tests by file, not by category. Our main testing framework is Nunit. Our general idea is that we want to only test the public API and only worry about the correct results returned from inner logic.
Nunit documentation can be found here.
We place our tests in a namespace AIMMOUnityTest. We have a internal [TestFixture] class and each method are individual tests decorated by [Test].
-
Window->Test Runner - A window/tab opens with Playmode and Editmode tests, you can run all of them from here
