DescriptionAdd module discovery and autoloading to expect_tests.
The boilerplate to invoke expect_tests is now just:
expect_tests.main()
You may specify modules to load explicitly, but by default it just scans the
__main__ module.
This also paves the way to have expect_tests be an executable package in its
own right. If expect_tests itself is __main__, then it will scan for all tests
under the current directory.
Also adds yieldable Cleanup too so that generators can do some prepwork and get
a callback on the completion of the entire test suite.
R=agable@chromium.org, vadimsh@chromium.org
BUG=
Patch Set 1 #Patch Set 2 : add --force_coverage option #
Total comments: 15
Patch Set 3 : Single-line imports and rename EVERYTHING object #Patch Set 4 : Fix formatting + comment #
Total comments: 1
Messages
Total messages: 7 (0 generated)
|