Opened 7 years ago

#5905 enhancement new

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

Reported by: Jean-Paul Calderone Owned by:
Priority: normal Milestone:
Component: trial Keywords:
Cc: Jonathan Lange Branch:


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 (1)

comment:1 Changed 7 years ago by DefaultCC Plugin

Cc: Jonathan Lange added
Note: See TracTickets for help on using tickets.