Lines Matching refs:name
30 name : str - name of the test
42 self.name = ''
50 return (f'Test({self.status}, {self.name}, {self.expected_count}, '
60 stdout.print_with_timestamp(stdout.red('[ERROR]') + f' Test: {self.name}: {error_message}')
305 Parses test header and stores test name in test object.
309 - '# Subtest: [test name]'
321 test.name = match.group(1)
360 if the name matches the name of the current test.
361 Returns False if fails to match format or name.
364 - '[ok|not ok] [test number] [-] [test name] [optional skip
372 True if matched a test result line and the name matching the
373 expected test name
379 name = match.group(4)
380 return name == test.name
385 Parses test result line and stores the status and name in the test
394 - '[ok|not ok] [test number] [-] [test name] [optional skip
414 # Set name of test object
416 test.name = skip_match.group(4)
418 test.name = match.group(4)
441 - '# Subtest: [test name]'
442 - '[ok|not ok] [test number] [-] [test name] [optional skip
491 Prints test header with test name and optionally the expected number
500 message = test.name
502 # Add a leading space before the subtest counts only if a test name
521 name.
533 return stdout.green('[PASSED] ') + test.name
535 return stdout.yellow('[SKIPPED] ') + test.name
537 return stdout.yellow('[NO TESTS RUN] ') + test.name
540 return stdout.red('[CRASHED] ') + test.name
542 return stdout.red('[FAILED] ') + test.name
578 full_name = test.name
580 full_name = parent_name + '.' + test.name
661 information (status, name) about the test and the Test objects for
682 # Subtest: name
685 ok 1 name
689 # Subtest: name
692 ok 1 name
699 ok 1 name
727 test.name = "main"
751 # result line with matching name to subtest header is found
777 if test.name != "" and not peek_test_name_match(lines, test):
816 test.name = '<missing>'