From ac1e98454ea3a89b7c2ae93c15c5ee9dd26e5c87 Mon Sep 17 00:00:00 2001 From: xjjon Date: Sun, 14 Jul 2019 21:06:41 -0700 Subject: [PATCH] Update asmdef step directions Add additional detail to be more explicit in how to add the reference to `Zenject-TestFramework` via the Unity object inspector. --- Documentation/WritingAutomatedTests.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/WritingAutomatedTests.md b/Documentation/WritingAutomatedTests.md index 0c03f2cb4..c0311675f 100644 --- a/Documentation/WritingAutomatedTests.md +++ b/Documentation/WritingAutomatedTests.md @@ -42,7 +42,7 @@ public class Logger To test the class do the following: - Open up Unity's Test Runner by clicking Window -> General -> Test Runner - Underneath the EditMode tab click "Create EditMode Test Assembly Folder". This will create a folder that contains the necessary asmdef file that is needed to get access to the Nunit namespace. -- Select the newly created asmdef file and add a reference to Zenject-TestFramework +- Select the newly created asmdef file and add a reference to Zenject-TestFramework in the Unity inspector (Tests Import Settings -> Assembly Definition References) - Right click inside the folder in the Project tab and select `Create -> Zenject -> Unit Test`. Name it `TestLogger`.cs. This will create a basic template that we can fill in with our tests - Copy and paste the following: