protected override void Before_all_tests() { base.Before_all_tests(); _methodInfo = MockNUnitTestClass.GetPassingTest(); _testMethod = new TestMethod(_methodInfo); _testMethod.ShouldNotBeNull(); }
public void Should_report_correct_TestName_for_specified_TestCase_test_names() { ITestMethod testMethods = GetTestMethodsForTest("TestCaseWithName").FirstOrDefault(); testMethods.ShouldNotBeNull(); // funny the attributes come back out of order??? testMethods.Name.ShouldBeEqualTo("SomeManuallyControlledTestName"); }
public void testMethod_should_exist() { _testMethod.ShouldNotBeNull(); }