Unity Test Tools: ScoreTest not appearing in Editor Tests

I’m having some trouble getting the Unity Test Tools to work in Unity 5.3.5f1… I’ve imported the Unity Test Tools which seem to work fine; I’ve created my ScoreMasterTest script in a folder called “Editor” on the top level of my Bowlmaster assets and written it just like in the video; but it doesn’t appear in the Editor Tests list. The only error I’m getting is a Warning about one of the other Unity Test Tools scripts, warning about an unused variable. Here is my script:

using System;
using System.Collections.Generic;
using NUnit.Framework;
using UnityEngine;

[TestFixture]
public class ScoreTest {

    [Test]
    public void FailingTest() {
        Assert.AreEqual(1, 2);
    }
}

Does anybody have any idea what I’m doing wrong, or what I could do “more correctly?” :slight_smile:

UPDATE: Interestingly, I pressed on and reached the part where we comment out the SampleTests. Once they were commented out, my test appeared in the Editor Test list. I’m not sure what difference that made, but now I can continue!

Privacy & Terms