Question by
ab_salazar · Feb 16, 2021 at 07:18 AM ·
script.testingintegrationc# tutorial
unit Test using Jenkins and NUnit
Hello,
I am currently using jenkins as a server. I want to implement a unit test automation. As Unity works with .net I thought of using Nunit to link the Unity test runner with Jenkins.
In my Job configuration I added the commands for Jenkins to read the test scripts and generate a report file.
-quit -batchmode -projectPath "C:\Users\Erick\Documents\Bitbucket" -runTests -testFilter "/Library/ScriptAssemblies/Assembly-CSharp.dll"-testResults "C:\temp\results.xml"
When I start the Job the compilation is created, it doesn't mark any problem, the path of my project is accessed but no test result file is created in the path where I set it.
Can anyone help me on this? what am I doing wrong or if there is any guide on how to implement unit tests in unity with Jenkins and NUnit?
This is my jenkins console output: Link
Thanks
Comment