Blackbox tests not being run

John A Meinel john at arbash-meinel.com
Wed Feb 8 20:24:42 GMT 2006


Alexander Belchenko wrote:
> John A Meinel пишет:
>> I was thinking an alternative test, which would just check for any files
>> named "test_*" underneath the tests directory. And make sure that they
>> were all loaded. That also helps with the "accidentally deleting a test
>> because of a merge conflict."
>>
>> However, if we write that, I have to wonder why we aren't just grabbing
>> all files named test_*.py and automatically including them in the tests.
>> It would mean less maintenance work when writing new tests.
> 
> It will require to rewrite all doctests embedded in bzrlib core.
> 
> -- 
> Alexander

We could still load doctests as we do now. I'm just advocating that we
load anything matching bzrlib/tests/test_*
blackbox, etc could still be loaded specially, though they would use a
similar wildcard loading.

John
=:->


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060208/5779b6cf/attachment.pgp 


More information about the bazaar mailing list