Short instructions:
- Make sure git is installed on your machine.
- With your unity project of choice opened, press on the "Window" tab on the top of the screen.
- Press on "Package Manager".
- Press on the "+" sign on the top left corner of the window.
- Press on "Add package from git URL".
- Paste the following link:
https://github.com/team-zomsa/Aplib-Unity-Package-Research.git
- Press on "Add" or "Install". Wait for the package to be installed.
- After installation, open the Test Runner tab under Window -> General -> Test Runner. You can dock this window within the editor if you like.
- Go to PlayMode and press create a new test assembly, if you do not have one yet. If you do, skip this step.
- Open the inspector on the asmdef file within the Tests folder. Under Assembly Definition References, add the team-zomsa.aplib-unity.
- Under Assembly References, add Aplib.Core.dll. Then scroll down and click on Apply.
- Go to https://github.com/team-zomsa/aplib.net-research/wiki for instructions on how to use the library and set up your first test.
- After setting up tests, under the Test Runner tab, press "Run All" to run all tests.
Possible errors:
- If the test scene can not be found, make sure it is added in the build settings.
This project has no license defined yet.
This package uses several packages. For the packages below, we refer you to
their respective licenses, located in the plugins
folder:
- Castle.Core
- Moq
- System.Diagnostics.EventLog