- Home /
How can I run Unity tests with some defined nUnit category
Hi all, I know how to run tests from the console:
"Unity.exe -runTests -projectPath "C:\Projects\ProjectName" -testResults "C:\TEMP\results.xml" -testPlatform playmode"
But, how can I also run tests with the only defined category? As an example, I want to run tests with NUnit category [Categoty("Smoke")]. Is it possible to do?
Thanks a lot.
Comment
Your answer
Follow this Question
Related Questions
How to import plugins inside tests in Unity Test Runner 1 Answer
Unity 5.6 Unit Testing 1 Answer
How to Run Editor Test Runner test from editor script in 5.6? 4 Answers
How to implement mandatory cleanup for the Unity PlayMode tests? 1 Answer
Unit Testing Rigidbody2D without polluting scene with gameobjects 1 Answer