unittest.TestResult.stop()
  • References/Python/Python/Development Tools

stop() This method can be called to signal that the set of tests being run should be aborted by setting the shouldStop

2025-01-10 15:47:30
doctest.testfile()
  • References/Python/Python/Development Tools

doctest.testfile(filename, module_relative=True, name=None, package=None, globs=None, verbose=None, report=True, optionflags=0, extraglobs=None, raise_on_error=False

2025-01-10 15:47:30
unittest.TestSuite.
  • References/Python/Python/Development Tools

__iter__() Tests grouped by a TestSuite are always accessed by iteration. Subclasses can lazily provide tests by

2025-01-10 15:47:30
unittest.TestLoader.loadTestsFromTestCase()
  • References/Python/Python/Development Tools

loadTestsFromTestCase(testCaseClass) Return a suite of all tests cases contained in the TestCase-derived

2025-01-10 15:47:30
unittest.mock.PropertyMock
  • References/Python/Python/Development Tools

class unittest.mock.PropertyMock(*args, **kwargs) A mock intended to be used as a property, or other descriptor, on a class

2025-01-10 15:47:30
unittest.SkipTest
  • References/Python/Python/Development Tools

exception unittest.SkipTest(reason) This exception is raised to skip a test. Usually you can

2025-01-10 15:47:30
typing.Reversible
  • References/Python/Python/Development Tools

class typing.Reversible An ABC with one abstract method __reversed__ returning an Iterator[T_co].

2025-01-10 15:47:30
unittest.TestSuite.addTest()
  • References/Python/Python/Development Tools

addTest(test) Add a TestCase or TestSuite to the suite.

2025-01-10 15:47:30
doctest.DocTestFailure.test
  • References/Python/Python/Development Tools

DocTestFailure.test The DocTest object that was being run when the example failed.

2025-01-10 15:47:30
unittest.TestCase.fail()
  • References/Python/Python/Development Tools

fail(msg=None) Signals a test failure unconditionally, with msg or None for the error message.

2025-01-10 15:47:30