Thursday, June 24, 2010

Notes on setting up plone.app.themeeditor on Plone 4

I used a fresh install of the latest Plone4b4 then added the following to my buildout:
(Note the use of plone.app.jquerytools 1.1b5 since plone4b4 doesn't use that version. also there's a note below on getting the 'test-plone-4.x.cfg' file.)

[buildout]
...

extends =
...
test-plone-4.x.cfg

extensions = mr.developer
sources = sources
auto-checkout = plone.app.themeeditor
...
[sources]
plone.app.themeeditor = svn https://svn.plone.org/svn/plone/plone.app.themeeditor/trunk

[versions]
plone.app.jquerytools = 1.1b5
...

In the buildout directory get the testing .cfg file:
wget http://svn.plone.org/svn/plone/plone.app.themeeditor/trunk/test-plone-4.x.cfg

Then run buildout
bin/buildout

Fun integration testing
As an aside: You need to try the windmill testing (mentioned in David Glick's blog).
Use this command:

bin/test -s plone.app.themeeditor -f test_integration


here's the expected behaviour:

















No comments:

Sign up for my upcoming Plone 5 Book & Video tutorials

plone 5 for newbies book and videos