Exemplo n.º 1
0
        public void FireTestStepFinishedEventWithTestResultCreatesGallioTestDataWithExpectedFullName()
        {
            testRunnerEvents.FireTestStepFinishedEvent("MyNamespace/MyTests/MyTestMethod");

            string expectedFullName = "MyNamespace/MyTests/MyTestMethod";
            string actualFullName   = testStepFinishedEventArgs.Test.FullName;

            Assert.AreEqual(expectedFullName, actualFullName);
        }
		public void FiringTestStepFinishedEventWritesTestResultNameToTestResultsWriter()
		{
			string testName = "MyNamespace.MyTests.MyTestMethod";
			testRunnerEvents.FireTestStepFinishedEvent("MyNamespace.MyTests.MyTestMethod");
			
			Assert.AreEqual(testName, writer.FirstTestResult.Name);
		}