Views
February followup sprint setup
last edited 3 years ago by cbc
- Go ahead and make sure you've done the January Sprint setup.
- In your test Plone site, be sure to add PloneHelpCenter as a product in your plone_control_panel.
- See if you understand what we think we understand about the desired Target PHC Workflow.
-
Setup PloneTestCase like Tom Bryan showed us at the last TriZPUG meeting:
- Export ZopeTestCase from the Collective and place in your $ZOPE_HOME/lib/python/Testing (not Products!)
- Put test.py in your $ZOPE_HOME/bin (overwriting the one that is there).
-
Linux: make test.py script executable. Make sure the first line reads:
#!/usr/bin/env /path/to/zope's/python2.3/bin/python
- Export PloneTestCase from the Collective and place in your $INSTANCE_HOME Products directory.
-
cd $INSTANCE_HOME -
Linux:
$ZOPE_HOME/bin/test.py -v \
--config-file etc/zope.conf \
--libdir Products/PloneProductToTest -
Windows:
python $ZOPE_HOME/bin/test.py -v \
--config-file etc/zope.conf \
--libdir Products/PloneProductToTest
- In $INSTANCE_HOME/Products/PloneHelpCenter/Testing/__init.py__, uncomment the three lines to CreateTestData in portal_migration.
- In portal_migrations/Setup, under "PloneHelpCenter Test Data," check Create Test Data and then click "Update." All the other PHC test data shown (Create Test Users, Create Test PloneHelpCenter, Create Test Tutorials, and Create Test Howtos) will be created by simply checking Create Test Data.



