bzr selftest has many failures

Aaron Bentley aaron.bentley at utoronto.ca
Mon May 16 14:44:54 BST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin Pool wrote:
| On 15 May 2005, Aaron Bentley <aaron.bentley at utoronto.ca> wrote:
|
|>I ran testbzr, and it appeared internal tests passed.  But they hadn't.
|
|
| Thanks, both the failures and the failure to report them are now fixed.

bzr selftest now reports:
bzr: No module named tests
~  at /home/abentley/bzr.dev/bzrlib/commands.py:845 in run()
~  see ~/.bzr.log for debug information

I see:
revno: 514
committer: Martin Pool <mbp at sourcefrog.net>
timestamp: Mon 2005-05-16 18:09:40 +1000
message:
~  - remove old internal tests in favour of blackbox tests

While I agree that blackbox testing is important, whitebox (unit)
testing is also important.  It allows you to test the api with much
smaller granularity than the blackbox approach.

For example, I'd like to add tests to ensure that '/' is not a valid
store ID and that specifying a revision ID does work.  Testing these
kinds of things will make it hard for regressions to happen.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCiKPW0F+nu1YWqI0RArAgAJ9KLJrXkPTLWIrzNTE9xTes6n3J+QCfSEPp
2UPH+p2mq8mZuyAEBsL+2RY=
=yD92
-----END PGP SIGNATURE-----




More information about the bazaar mailing list