[Zope-dev] [Zope 2.12] how to test products/packages?
Andreas Jung
lists at zopyx.com
Sun Mar 15 13:36:34 EDT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 15.03.2009 18:27 Uhr, Dieter Maurer wrote:
> Andreas Jung wrote at 2009-3-15 08:53 +0100:
>> On 15.03.2009 8:31 Uhr, Dieter Maurer wrote:
>>> The Zope 2.12 documention tells that the "test" command was removed
>>> from "zopectl".
>> Have to investigate that.
>>
>>> "test" was a convenient way to test products and packages in the
>>> context of the instance. How is this use case now supported?
>> Go with the buildout approach and use the alltests.cfg for testing
>> support (see alltests.cfg). Means: work with a SVN checkout.
>
> I do not want to test Zope, I want to test *MY* Zope based components.
>
Then write *your* dieter.cfg containing
[buildout]
extends = buildout.cfg
parts += alltests
[alltests]
recipe = zc.recipe.testrunner
eggs = dm.foo.bar
and run
buildout -c dieter.cfg
and later
bin/alltests
- -aj
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkm9PKIACgkQCJIWIbr9KYxXoQCgr8j6/YMeP/N/OUX35Zz862ov
pRoAoNqOu74upBaf20esiozNajq7+U/U
=X1wQ
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.vcf
Type: text/x-vcard
Size: 316 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope-dev/attachments/20090315/f7042684/attachment.vcf
More information about the Zope-Dev
mailing list