Andreas Jung wrote:
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..

Second: personally I would not care much about tests for this particular
use case because such test will never
replace any real tests with real software when it comes to import those
later into other systems. Takes three different
spreadsheet application and all will behave slightly differently.....

-aj
I won't worry about the tests in that case. I would still like an outside of Plone content import/export. That's just my personal preference. Plus this type of import/export was a use case that came up in a few discussions I had at the Plone Symposium East 09. But I can see your point... so I'll look into GSXML. Thanks for the reply.

-Michael Mulich (pumazi)

_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to