Lines Matching refs:discovery
83 discovery. unittest2 allows you to use these features with earlier
242 The command line can also be used for test discovery, for running all of the
246 .. _unittest-test-discovery:
253 Unittest supports simple test discovery. In order to be compatible with test
254 discovery, all of the test files must be :ref:`modules <tut-modules>` or
259 Test discovery is implemented in :meth:`TestLoader.discover`, but can also be
275 Directory to start discovery (``.`` default)
299 Test discovery loads tests by importing them. Once test discovery has
304 If you have a package installed globally and attempt test discovery on
306 wrong place. If this happens test discovery will warn you and exit.
313 Test modules and packages can customize test loading and discovery by through
1518 will be recorded as a single error and discovery will continue.
1525 If load_tests exists then discovery does *not* recurse into the package,
1529 packages can continue discovery themselves. *top_level_dir* is stored so
1845 test runs or test discovery by implementing a function called ``load_tests``.
1858 The third argument is used when loading packages as part of test discovery.
1872 If discovery is started, either from the command line or by calling
1885 called and discovery not continued into the package. ``load_tests``
1895 continue (and potentially modify) test discovery. A 'do nothing'