plone / plone.act

DEPRECATED Acts, not words : ACceptance Testing for Plone
2 stars 2 forks source link

Run tests with configurable test-source-directory #35

Closed saily closed 11 years ago

saily commented 11 years ago

Basic thoughts

In future people will configure their own content types using dexterity and build their own themes using plone.app.theming - all through the web. So it would be a huge benefit for them if they could just write tests with RIDE or their loved editor and run these tests through plone.act.

Discussion

datakurre commented 11 years ago

Except that p.a.testing-based test-layer might not know anything about those through the web made themes and content types. (This would work, though, if it would be trivial to export TTW-done stuff into filesystem so that p.a.testing-layer could find them).

datakurre commented 11 years ago

You can do this now with using act_server and pybot, or just pybot with Zope2ServerLibrary.

E.g. bin/act_server plone.app.testing.PLONE_ZSERVER would give you plain Plone and bin/pybot --listener plone.act.server.ZODB path/to/my/test.txt would allow to run any test suites against it (with test isolation).