The new Visual Studio test runner of TypeMock 7.0 doesn't recognize NUnit tests using TestCases.
This is recognized and the little test runner icon is displayed next to it:
[Test]
public void CalculateFeedCostTest()
{
// Test some stuff
}
This is not recognized and no test runner icon is displayed next to it:
[Test(), Description("Test of method AggregateBiologicalTimespan"),
TestCase(false, false, Description = "Test with values and check results."),
TestCase(true, false, Description = "Test with 2 projects and check results."),
TestCase(false, true, Description = "Test with empty economy table.")]
public void AggregateBiologicalTimespanTest(bool newProject, bool emptyEconomyTable)
{
// Test some stuff
}
ReSharpers test runner recognizes both as tests.