To be called in response to user choosing to run a test
(self)
| 73 | pass |
| 74 | |
| 75 | def runClicked(self): |
| 76 | "To be called in response to user choosing to run a test" |
| 77 | if self.running: return |
| 78 | if not self.test_suite: |
| 79 | self.errorDialog("Test Discovery", "You discover some tests first!") |
| 80 | return |
| 81 | self.currentResult = GUITestResult(self) |
| 82 | self.totalTests = self.test_suite.countTestCases() |
| 83 | self.running = 1 |
| 84 | self.notifyRunning() |
| 85 | self.test_suite.run(self.currentResult) |
| 86 | self.running = 0 |
| 87 | self.notifyStopped() |
| 88 | |
| 89 | def stopClicked(self): |
| 90 | "To be called in response to user stopping the running of a test" |
nothing calls this directly
no test coverage detected