Ejemplo n.º 1
0
        protected override void Before_all_tests()
        {
            base.Before_all_tests();

            _methodInfo = MockNUnitTestClass.GetPassingTest();
            _testMethod = new TestMethod(_methodInfo);
            _testMethod.ShouldNotBeNull();
        }
Ejemplo n.º 2
0
        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");
        }
Ejemplo n.º 4
0
 public void testMethod_should_exist()
 {
     _testMethod.ShouldNotBeNull();
 }