Test running only passing tests in two variants. Also test printing durations.
(self)
| 56 | return standard_runner.StandardTestRunner |
| 57 | |
| 58 | def testPass(self): |
| 59 | """Test running only passing tests in two variants. |
| 60 | |
| 61 | Also test printing durations. |
| 62 | """ |
| 63 | result = self.run_tests( |
| 64 | '--progress=verbose', |
| 65 | '--variants=default,stress', |
| 66 | '--time', |
| 67 | 'sweet/bananas', |
| 68 | 'sweet/raspberries', |
| 69 | ) |
| 70 | result.stdout_includes('sweet/bananas default: PASS') |
| 71 | # TODO(majeski): Implement for test processors |
| 72 | # self.assertIn('Total time:', result.stderr, result) |
| 73 | # self.assertIn('sweet/bananas', result.stderr, result) |
| 74 | result.has_returncode(0) |
| 75 | |
| 76 | def testPassHeavy(self): |
| 77 | """Test running with some tests marked heavy.""" |
nothing calls this directly
no test coverage detected