Unity Test Tool not working as expected

Software used : Unity 5.5, MonoDevelop 5.9.6, Unity Test Tool 1.5.9.
OS: Win 10

I have created an Editor folder and have an ActionMasterTest file in that. But when I write the program - “using UnityEngine” and “using NUnit.Framework” appears in red. Assert commands are also not shown in autocomplete and are also shown in red. Same is the case for “SampleTest.cs” which came in the Examples of Unity Test Tool.

But the strange thing is the program still runs in the Editor Tests.


I have tried restarting Unity and Monodevelop. I have also tried re-downloading and importing Unity Test Tool.

[UPDATE] If I open the files in Visual Studio 2015, everything works as expected. (Interesting). The problem is while using MonoDevelop.

Did you try F8 in MonoDevelop to build it? It might give you errors that explain why its red. It is strange as you mention. Test Tool is integrated into Unity 5.5 (unless you untick it when installing), so maybe it has duplicate files that causes it to behave strangely.