def testNames(tests):
 names = []
 for test in _iterateTests(tests):
  names.append(test.id())
 return names

def testNames ( tests ) : names = [ ] for test in _iterateTests ( tests ) : names . append ( test . id ( ) ) return names
return the id of each test within the given test suite or case .