All I found in documentation of unittest
module is description of TextTestRunner
's constructor and the following sample code using its run()
method:
unittest.TextTestRunner(verbosity=2).run(suite)
I would like to know how I can use TextTestRunner
in failfast mode.
Constructor of TextTestRunner
class has failfast
parameter which is not shown in the constructor's documentation.
UPDATE
I raised bug 17871 and it's fixed now what you can verify at http://docs.python.org/3.3/library/unittest.html#unittest.TextTestRunner
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With