简体   繁体   中英

zope.testrecorder on Plone 4.1

I want to install zope.testrecorder to create some functional tests for a Plone 4.1 package I'm writing.

I followed the instructions on both, package's INSTALL.txt file and Martin Aspeli's tutorial Using zope.testrecorder to record functional tests , but they seem to be outdated.

Have a look at http://davidjb.com/blog/2010/03/plonezope-utilising-zope-testrecorder-for-unit-testing

There he says:

""" Go to http://zopehost:port/++resource++recorder/index.html to access the test recorder, and not try and add an object in the root of Zope (or elsewhere). """

Also make sure to install the zope.testrecorder as an egg and zcml (there's no autoinclude ATM) in in your buildout -- instead of unzipping the tarball inside the products/ directory as Aspeli suggested in his a bit outdated tutorial.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM