Hello all, I'm trying to run some tests I wrote from the command line. I followed the instructions on
https://altom.gitlab.io/altunity/altunitytester/pages/advanced-usage.html but I get errors when I try to run the tests from the command line.
I did manage to make a build, an apk, following the instructions on "build games from command line" section, but after running the following command:
Unity -projectPath C:\Users\Amit\Documents\spadesroyale-client-new -executeMethod AltUnityTestRunner.RunTestFromCommandLine -tests NewAltUnityTest.ChangeNameTest -logFile C:\Users\Amit\Documents\spadesroyale-client-new\Logs\altunity.txt -batchmode -quit
I get the following output:
C:\Program Files\Unity\Hub\Editor\2019.4.28f1\Editor>
Aborting batchmode due to failure:
executeMethod class 'AltUnityTestRunner' could not be found.
Argument was -executeMethod AltUnityTestRunner.RunTestFromCommandLine
Thanks