Lines Matching full:testsuite
396 represented by :mod:`unittest`'s :class:`TestSuite` class. In most cases,
404 suite = unittest.TestSuite()
467 automatically build :class:`unittest.TestSuite` instances from the existing
1466 .. class:: TestSuite(tests=())
1470 as any other test case. Running a :class:`TestSuite` instance is the same as
1477 :class:`TestSuite` objects behave much like :class:`TestCase` objects, except
1480 methods are available to add tests to :class:`TestSuite` instances:
1483 .. method:: TestSuite.addTest(test)
1485 Add a :class:`TestCase` or :class:`TestSuite` to the suite.
1488 .. method:: TestSuite.addTests(tests)
1490 Add all the tests from an iterable of :class:`TestCase` and :class:`TestSuite`
1496 :class:`TestSuite` shares the following methods with :class:`TestCase`:
1503 :meth:`TestCase.run`, :meth:`TestSuite.run` requires the result object to
1522 Tests grouped by a :class:`TestSuite` are always accessed by iteration.
1526 returned by repeated iterations before :meth:`TestSuite.run` must be the
1527 same for each call iteration. After :meth:`TestSuite.run`, callers should
1529 subclass that overrides :meth:`TestSuite._removeTestAtIndex` to preserve
1533 In earlier versions the :class:`TestSuite` accessed tests directly rather
1538 In earlier versions the :class:`TestSuite` held references to each
1539 :class:`TestCase` after :meth:`TestSuite.run`. Subclasses can restore
1540 that behavior by overriding :meth:`TestSuite._removeTestAtIndex`.
1542 In the typical usage of a :class:`TestSuite` object, the :meth:`run` method
1622 :class:`TestSuite` instance, or a callable object which returns a
1623 :class:`TestCase` or :class:`TestSuite` instance. These checks are
1663 specified start directory, and return a TestSuite object containing them.
1735 :class:`TestSuite` class.
1746 :class:`TestCase` and :class:`TestSuite` classes ensure that results are
2005 method takes a :class:`TestSuite` or :class:`TestCase` instance. A
2092 It should return a :class:`TestSuite`.
2106 suite = TestSuite()
2121 This should return a :class:`TestSuite` representing all the tests
2145 Class and module level fixtures are implemented in :class:`TestSuite`. When