On 3/20/10 13:03 , leejason wrote:
Hi,
Does anybody know how to do unit test on Plone 4.0b1? My current effort is
based on the following:
http://plone.org/documentation/kb/testing/writing-a-plonetestcase-unit-integration-test
That does not show unit tests, but integration tests. There is a big
difference.
and I adjusted to add the following to my buildout.cfg:
[test]
recipe = zc.recipe.testrunner
eggs =
${instance:eggs}
myproduct.contenttype
Don't list ${instance:eggs} there, only the packages that you want to
test. Make sure myproduct.contenttype depends on the Plone package so
all the dependencies are pulled in properly.
Wichert.
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers