[MERGE] Move skipped test detection to TestCase, and make reporting use an addSkip method as per testtools.

Robert Collins robert.collins at canonical.com
Sun Mar 1 03:08:43 GMT 2009


This moves the detection that a test is skipping into TestCase rather
than being done after-the-fact by TestResult. It still supports the
protocol of calling addError with a TestSkipped, if the TestResult does
not have an addSkip method. I find this very useful with subunit - I can
accurately reload failing and erroring tests only (with 107 tests still
being false positives - and they are all missing features, but 107 is an
ok amount, for now).

-Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-skipped-4064.patch
Type: text/x-patch
Size: 10900 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090301/293ce090/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090301/293ce090/attachment.pgp 


More information about the bazaar mailing list