Re: Re: Why do we restrict our egg testing?

Marius Gedminas <[email protected]> Thu, 27 Sep 2007 12:16:01 -0400
Newsgroups gmane.comp.web.zope.zope3
Message-ID <20070927161601.GA15084@platonas>
On Thu, Sep 27, 2007 at 10:33:09AM -0400, Tres Seaver wrote:
> Why would we want to pull in all of Zope3 as a dependency (worse, a
> hidden one) before testing an egg?  If the egg's dependencies are
> broken, I *want* the tests to fail.  I don't think testing against a
> "fat" meta-egg satisfies that goal.  Fix the egg so that its
> 'install_requires' or 'tests_requires' are sufficient to make the tests
> pass instead.

There are two conflicting goals here:

  (1) testing that an egg's tests fail when its dependency list is
      incomplete

  (2) testing whether any of the other eggs that depend on this one
      break due to recent changes

> I thought Roger was one of the folks looking to *reduce* the set of
> dependencies his application had on zope3 coee -- testing against the
> meta-egg actually makes that problem worse.

I think Roger wants (2).

Marius Gedminas
-- 
"...the only place for 63,000 bugs is a rain forest"
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFG+9dBkVdEXeem148RAo6SAKCK4bhrkNBkp8KtkJDRza0+aaBSXgCfUlC+
BleDFWQAyNaHgmoKcxAo1us=
=SQI3
-----END PGP SIGNATURE-----