Ticket #5905 enhancement new

Opened 20 months ago

Support C-c (to stop tests) in twisted.trial.unittest.SynchronousTestCase

Reported by: exarkun Owned by:
Priority: normal Milestone:
Component: trial Keywords:
Cc: jml Branch:
Author: Launchpad Bug:


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.

Change History


Changed 20 months ago by DefaultCC Plugin

  • cc jml added
Note: See TracTickets for help on using tickets.