public void TestFixtureInfoReportsCategory() { var tfi = new TestFixtureInfo(new TestFixture(typeof(CategoriesTests))); Assert.Equals(1, tfi.Categories.Count); Assert.True(tfi.Categories.Contains("Alpha")); }
public void TestFixtureInfoWithDefaultCategory() { var tfi = new TestFixtureInfo(new TestFixture(typeof(ClassWithCategories))); Assert.Equals(0, tfi.Categories.Count); }