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.