updated test suite support
Aaron Bentley
aaron.bentley at utoronto.ca
Fri Aug 26 03:11:05 BST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Robert Collins wrote:
> There are now two distinct base classes for writing test cases:
> bzrlib.selftest.TestCase and bzrlib.selftest.FunctionalTestCase
> The former is appropriate for any 'memory-only' test cases that you
> write. It sets up a log and captures mutter() etc calls.
> FunctionalTestCase's setup constructs a temporary directory for your
> test to run in and chdirs you to it.
I'm not sure about those names. InTempDir is a lot more obvious. I'm
not sure why testing an ImmutableStore would be 'functional', but
testing some iterator behavior would not be.
Aside from that, these changes look really good.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDDno50F+nu1YWqI0RAqe1AJ0a36DZpIaEEmpwbLQPEVNlGJPraACePkKd
8suoCCDIzDg3fa2sF/WIB4A=
=8YjU
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list