The `unittest.TextTestRunner` is a class in Python's built-in `unittest` module that provides a way to run tests and generate textual reports of the results. It is responsible for executing test cases and displaying the output in a human-readable format in the console. This runner class can be used to run unit tests defined in the form of test cases or test suites, and it offers options for verbosity, buffering, and the ability to rerun failed tests. It is commonly used in test-driven development (TDD) to automate the execution and reporting of tests within a Python project.
Python TextTestRunner - 60 examples found. These are the top rated real world Python examples of unittest.TextTestRunner extracted from open source projects. You can rate examples to help us improve the quality of examples.