I have followed the Unity Test Framework documentation to create an EditMode test assembly and a test script. When I try to test a function like Utils.SomeMethod()
, the class is not recognized.
My IDE gives me the option to Reference Assembly-CSharp and use Utils
which seems to successfully import the class as I gain autocomplete ability on the function names. But as soon as I try to run the test, the text changes back to red and I get a message that The name Utils does not exist in the current context
.
What do I need to do to be able to test my class?