Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update asmdef step directions #645

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Documentation/WritingAutomatedTests.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down