[Zope-PAS] Re: Test layers for pastc
Tres Seaver
tseaver at palladion.com
Mon Nov 19 16:07:11 EST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ross Patterson wrote:
> I'd love to convert PAS's tests to layers for test setUp and tearDown.
> Any objections?
Layers are all about sharing setup across a set of tests, which means
they risk breaking test isolation. I normally don't use layers for
anything which is a pure "unit test," but can see the point for
"function" or "integration" tests.
Are there a specific set of tests you have in mind which have
significant setup / teardown costs?
Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHQfr/+gerLs4ltQ4RAlOiAJ9b0oLr3bQ6kzQ7uIEZrVCCCYw65wCdG9/4
lt+xV0R1dR0axvqorh6ls64=
=AFQu
-----END PGP SIGNATURE-----
More information about the Zope-PAS
mailing list