[Zope-dev] IRC discussion about testing
Wolfgang Schnerring
ws at gocept.com
Thu Aug 13 02:26:17 EDT 2009
* Jim Fulton <jim at zope.com> [2009-08-12 20:56]:
> This seems heavier than needed. Also, if someone extends this,
> they're going to get an awful lot of sections that might have names
> that conflict with names in their buildout. I do like the fact that
> the versions section is reusable. :)
>
> Here's an alternative:
>
> [versions]
> zope.foo = 1.2.3
> zope.bar = 1.2.3
> zope.app.baz = 1.2.3
> grok.bar = 1.1.0
> thirdparty.dependency = 4.4
>
> [ztk]
> projects = zope.foo zope.bar zope.app.baz
> also-tested = grok.bar
Yup, that looks much better. As far as I'm concerned, let's use this.
(I'll leave it to Martijn to explain whether/which/why additional
information should be stored in the KGS in computer-readable form.)
I've just updated z3c.recipe.compattest to support exactly this:
> [buildout]
> parts = ztk-tests
> extends = the-file-above
>
> [ztk-tests]
> recipe = z3c.recipe.compattest
> include = ${ztk:projects} ${ztk:also-tested}
Would you give it a try?
Wolfgang
More information about the Zope-Dev
mailing list