- Home /
Unity Test Tools Integration Tests with Jenkins
I am trying to use the Unity Test Tools integration tests with Jenkins. I am using the following command:
"C:\Program Files (x86)\Unity\Editor\Unity.exe" -batchmode -projectPath C:\MyPath\MyProject -executeMethod UnityTest.Batch.RunIntegrationTests -testscenes=MyScene -targetPlatform=StandaloneWindows -resultsFileDirectory=C:\MyPath\MyProject\
Now, this works 100% perfectly when I run it from the command line.
However, when I use this same exact command in Jenkins, it never terminates.
The build succeeds, IntegrationTests.exe is launched, but it never completes and never times out.
I am running this on a Windows 7 machine with UAC and Windows Firewall disabled. Any ideas?
Answer by nresonbrown · May 16, 2016 at 09:08 PM
Have you tried adding the -quit option at the end, ensuring that the program terminates when it's done with everything else?
Your answer
Follow this Question
Related Questions
Unit Testing MonoBehaviour.Assertion component not Working with property. 2 Answers
Dynamic Integration test error - Not found skipping/KeyNotFoundException 0 Answers
Unity Test Tools - Integration Test for existing scenes 1 Answer
How to run tests that require Input? 1 Answer
Integration of Unity and Eclipse 1 Answer