I inherited an assembly with MSTest, but these tests were run using nunit-console on the build machine (not sure how it worked). So I decided to sort it out and change them
Check:
[TestFixture]
attribute at the class level?[Test]
attribute?I believe some versions of NUnit were able to find tests based on their names, e.g. TestFooBarBaz()
without the [Test]
attribute, but I don't know what the state of this is now - it could explain the discrepancy though.