[Product-Developers] Re: Need advice about writing tests for a content exporter script

Ross Patterson me at rpatterson.net
Mon Jul 6 14:34:00 UTC 2009


Andreas Jung <lists at zopyx.com> writes:

> On 03.07.09 08:23, Michael Mulich wrote:
>> I am writing a script that can be used to export (and eventually
>> import) all/some of the content in a Plone site to comma separated
>> values (CSV) files.[1]  My question is, what would be the best
>> approach for testing the package?  The package requires a Plone site,
>> but is not part of a Plone site since it is a script outside of Plone.
>>
> First: why are you trying to reinvent wheels? There is for example
> ArcheCSV for importing content into Plone using CSV.  There is GSXML
> for exporting/importing content based on XML. I blogged a while ago
> using an ini-file approach for doing content migrations..

Also try Smart CSV Exporter:

http://plone.org/products/smart-csv-exporter

Ross





More information about the Product-Developers mailing list