How to use TextTestRunner class from Python unittest module in failfast mode?

后端 未结 1 941
我寻月下人不归
我寻月下人不归 2021-01-18 08:32

All I found in documentation of unittest module is description of TextTestRunner\'s constructor and the following sample code using its run()

相关标签:
1条回答
  • 2021-01-18 09:30

    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

    0 讨论(0)
提交回复
热议问题