Opened 4 years ago
#5905 enhancement new
Support C-c (to stop tests) in twisted.trial.unittest.SynchronousTestCase
|Reported by:||exarkun||Owned by:|
It's nice to be able to reliably interrupt a running test suite. twisted.trial.unittest.TestCase has some KeyboardInterrupt support for this. It would be nice to have something similar in SynchronousTestCase.
The TestCase implementation is based on the result object's shouldStop flag. This is probably a reasonable way to approach support in SynchronousTestCase as well.