private ITest CreateTest(object testClassInstance, IMethodInfo testMethod, TestCaseComponentAttribute attribute) { if (string.IsNullOrEmpty(attribute.Description)) { attribute.Description = testMethod.GetDisplayNameFromName(); } return(new Test(_testCase, testClassInstance, testMethod, attribute.DisplayName)); // assign the test to the test case }