ProcessOutputEvent, ProcessErrorEvent, ProcessEndedEvent
from dtester.exceptions import TestAborted, TestFailure
from dtester.test import TestSuite, BaseTest, SyncTest
-from dtester.reporter import StreamReporter, CursesReporter
+from dtester.reporter import StreamReporter, CursesReporter, TapReporter
from dtester.runner import Runner, Timeout
# ****** definition of tests and suites ***********************************
def run(self):
self.populateStepDictionary()
self.runPermutations(self.stepThreading)
- # The last two lines of output for the last entry seem to disappear???
- print
- print
class DummyPermutationTest(PermutationTest):
self.populateStepDictionary()
self.runPermutations(self.stepThreading)
self.printStatistics()
- # The last two lines of output for the last entry seem to disappear???
- print
- print
if self.rollbackRequiredOK < self.rollbackRequiredCount:
raise TestFailure("serialization anomalies incorrectly allowed",
"Database integrity not protected.")
}
- runner = Runner(testTimeout=600, suiteTimeout=3600)
+ runner = Runner(reporter=TapReporter(sys.stdout, sys.stderr, showTimingInfo=True),
+ testTimeout=600, suiteTimeout=3600)
runner.run(tdef, config)