public static void AddStepStatus(string text) { var StepType = NunitTestHelpers.GetClassNameTest(0); string description = NunitTestHelpers.GetTestDescription(); string nase = NunitTestHelpers.GetTestCaseName(); _test.Log(GetTestStatus(), "<pre> Valor informado: [" + text + "]</pre>"); }
public static void AddTest() { string testName = NunitTestHelpers.GetTestCaseName(); // Get Test Name string testDescription = NunitTestHelpers.GetTestDescription(); // Get Test Description string testCategory = NunitTestHelpers.GetClassNameTest(31); //Get Class name - Subtring para ignorar o nome da solution _test = _extent.CreateTest(testName, testDescription).AssignCategory(testCategory); }