Lines Matching refs:counts
35 counts : TestCounts - counts of the test statuses and errors of
46 self.counts = TestCounts()
51 f'{self.subtests}, {self.log}, {self.counts})')
59 self.counts.errors += 1
78 Tracks the counts of statuses of all test cases and any errors within
102 def add_subtest_counts(self, counts: TestCounts) -> None:
104 Adds the counts of another TestCounts object to the current
105 TestCounts object. Used to add the counts of a subtest to the
109 counts - a different TestCounts object whose counts
110 will be added to the counts of the TestCounts object
112 self.passed += counts.passed
113 self.failed += counts.failed
114 self.crashed += counts.crashed
115 self.skipped += counts.skipped
116 self.errors += counts.errors
120 counts.
508 # Add a leading space before the subtest counts only if a test name
643 counts of the statuses of the tests subtests or the test itself if it
659 printer.print_with_timestamp(color(f'Testing complete. {test.counts}'))
663 if test.ok_status() or test.counts.total() < 100:
674 If the test has subtests, add the test counts of the subtests to the
677 status of the test to the test counts.
683 counts = test.counts
686 counts.add_subtest_counts(t.counts)
687 if counts.total() == 0:
688 counts.add_status(status)
689 elif test.counts.get_status() == TestStatus.TEST_CRASHED:
798 test.counts.add_status(
862 test.status = test.counts.get_status()