Blackbox tests not being run
Robert Collins
robertc at robertcollins.net
Wed Feb 8 22:34:30 GMT 2006
On Mon, 2006-02-06 at 07:56 -0600, John A Meinel wrote:
> Robert Collins wrote:
> 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.
yes and no. Its certainly doable, but I'm inclined to wait until our
test suite shakes out a little more first. We will want to get things
like doctests and the bzrlib.doc tests covered, we'll want to make sure
the type of test loaded is appropriate and that the adaption style tests
are handled correctly, as well as dealing with stale pyc files and the
like. All in all its probably worth doing, as other python test runners
do, but I'm still unhappy with all the existing ones in some respect or
another :[
Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060209/e680ab00/attachment.pgp
More information about the bazaar
mailing list