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
TextTestRunnerclass hasfailfastparameter 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