Hi,
I would like to be sure that my project contains good code. Therefor I
run tests for my products. Then I also use some packages from trunk,
bleeding edge is way cooler... At least for development.
To be sure that I don't get broken code that way I run those tests too.
Now the problems start. My policy packages changes some policies.
Now some trunk packages have broken tests.
How do you make sure that your policy products don't break the other
packages test?
Before you answer "Layers", be aware that my policy product is loaded
via site.zcml and that is loaded for all other packages.
Layers is NOT the answer, sadly.
Thank you and best regards,
Patrick
p.s.:
For more context, but not needed for above question:
I temporary extracted the employee and department parts of borg as a package.
That contains tests that check that certain roles are available.
Borg has an adapter that is asked for the available roles.
My Policy product has an adapter that is a bit more specific and
limits the available roles. I dont want to see employees setting
manager roles on some users, for example.
Now the Roletest breaks because my adapter is loaded via site.zcml,
and he does not return the subset of roles that the Borg adapter expects.
I believe the test of borg does the right thing, and I believe my policy package
does the right thing
------------------------------------------------------------------------------
_______________________________________________
Plone-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-developers