[Zope3-dev] Re: Moving more stuff to zope.products

Stephan Richter srichter at cosmos.phy.tufts.edu
Thu Feb 12 15:28:21 EST 2004


On Thursday 12 February 2004 11:07, Steve Alexander wrote:
> > Packaging for Windows and platforms without such dependency resolution
> > remains thornier;  nonetheless, I think we should attempt the "fine
> > grained" mdel.  From this POV, it should be a goal of PackageGeddon both
> > to identify *and to reduce* such interpackage dependencies.
>
> +1
>
> Perhaps tests that aren't unit tests (or rather, tests that have
> cross-package dependencies) can be put into a separate package, that
> depends on the two or more packages that are involved in the tests?
>
> We could have an itests container package for all such test modules.

I think this mess comes from not differentiating unit tests from regression 
tests (if I understand XP correctly).

- unit tests: They should never depend on other packages. They should 
definitely live in the package and be self-contained.

- regression tests: depend on a well-defined set of other packages. Note 
though that often these packages are often required for the entire product 
anyway. So they could still live in the package. If there is a dependency in 
the tests that does not exist in the implementation in general, we should be 
able to rewrite the test, so that it has no dependencies.

- functional tests: They will always depend on other components. Heck, their 
entire reason of existence is to test a fully functional environment.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training



More information about the Zope3-dev mailing list