Hi all, Until such time that plone.app.testing arrives, PloneTestCase is the way to do full integration testing in Plone.
Does anybody have an exampe of a working add-on product integration test with clean layer isolation I can use as a starting point? The current ZopeSkel-based boilerplate I'm using for this gives 'not found' errors on installing the add-on product to be tested. The older ZopeSkel boilerplate does not provide layer isolation. Same for PPD documentation and plone.org documentation http://plone.org/documentation/kb/testing/writing-a-plonetestcase-unit-integration-test The PloneTestCase provided testSkeleton.py and documentation are silent on layer setup as well. Something barfs my tests and my first priority now is to isolate my tests on a separate layer, to make sure the multiple add-ons I'm using aren't clashing into eachother. From the p.a.testing thread I gather there's a lot of intricacies involving class methods and higher magic than most mortals can understand. But surely it must be possible to provide a properly isolated full integration test for an add-on component using PloneTestCase? :*CU# -- *** Guido A.J. Stevens *** tel: +31.43.3618933 *** *** [email protected] *** Postbus 619 *** *** http://www.cosent.nl *** 6200 AP Maastricht *** s h a r i n g m a k e s s e n s e Stupid GUI change in Ubuntu forces gconf editing to restore normal 'close window' #UX. http://bit.ly/9sOpjf http://twitter.com/GuidoStevens _______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
