- Home /
Cannot open Unit Test Runner
I downloaded the asset "Unity Test Tools" made by Unity. The documentation says:
I haven't got such menu or library with any runnable, neither do the shortkeys work. I have tried to open another scene, another project, reset computer, but did not help. Also I have the following error messages on Console:"You open the Unit Test Runner from the menu bar Unity Test Tools/Unit Test Runner or by shift+ctrl+alt+u combination."
Assets/UnityTestTools/UnitTesting/Editor/NUnit/Renderer/UnitTestRendererLine.cs(29,46): error CS1061: Type
Test' does not contain a definition for
TestName' and no extension methodTestName' of type
Test' could be found (are you missing a using directive or an assembly reference?)Assets/UnityTestTools/UnitTesting/Editor/NUnit/Renderer/UnitTestRendererLine.cs(30,50): error CS1061: Type
Test' does not contain a definition for
TestName' and no extension methodTestName' of type
Test' could be found (are you missing a using directive or an assembly reference?)
…and so on for GroupLine.cs and UnitTestRendererLine.cs. I have read in the same doc that content of "Editor" folder should not even be compiled, so I really do not understand these messages.
"It's recommended to keep the unit test files under Editor folder so they won't be included in the build"
I can't reproduce that error. Is there another class named "Test" in your project? Do you get the same problem with an empty project?
Answer by 42p · Jun 27, 2014 at 11:56 PM
Another asset had a class named Test. Removing the asset let the project build.