[Grok-dev] compattest recipe: automatically test dependencies

Wolfgang Schnerring wosc at wosc.de
Sat Dec 12 03:24:56 EST 2009


* Reinout van Rees <reinout at vanrees.org> [2009-12-11 22:45]:
> I made an addition to z3c.recipe.compattest on the 
> "reinout-requirements" branch.
>
> Problem 1: normally you have to specify all the packages you want to 
> test by hand in the ``include`` option.  If you have a new dependency, 
> you can easily forget to list it.

Yes, since the original purpose of the recipe was testing the ZTK KGS,
the set of packages is quite well-known in that scenario.

> Solution: use z3c.recipe.compattest, but fill in the list of packages 
> automatically. You specify one (or more) packages in 
> ``include-dependencies`` instead of ``include`` and 
> z3c.recipe.compattest picks them up AND adds their dependencies you 
> listed in setup.py.

This sounds like a reasonable to populate the "to test" list.

> The branch is at:
> http://svn.zope.org/repos/main/z3c.recipe.compattest/branches/reinout-requirements/
> Is it OK for me to merge it? (Or for someone else to do it; including a 
> release pretty please :-) )

Go ahead and merge it, I can cut a release afterwards if you like.

Wolfgang



More information about the Grok-dev mailing list