Code review comment for lp://staging/~akretion-team/openobject-server/openobject-server_5.0_patches

Revision history for this message
Raphaël Valyi - http://www.akretion.com (rvalyi) wrote :

2009/10/30 Joël Grand-Guillaume @ CampToCamp <
<email address hidden>>

>
>
> P.S. We are working on a test bot for functional part here at Camptocamp.
> This will not be unit test, but more process test. Like : create an invoice,
> validate it and see the result is ok with tax amount, or try to get all
> partner, etc... I'll hope to post something soon to have some feed-back on
> it.
>

Joel, sounds great and is required indeed. Don't know what solution you are
putting in place.
But you should know that the best of bread of Ruby functional testing,
"Cucumber" http://cukes.info/ is compatible with OpenERP on the top of my
OOOR http://ooor.googlecode.com/ connector which gives access to all
OpenERP features. I know this is a different language, but if you don't have
good tools enough on Python, might be worth considering it. Note that it's
current to test Java code with Jython or JRuby... And arguably, Cucumber is
more an easy test DSL rather than plain Ruby.
I was also thinking about an enhanced module_recorder version that would
record each XML/RPC request and deal with database dump/restore to allow a
"replay" like feature to easily allow to create test suites. The same could
be achieved using Selenium + the browser eventually, but might just be a
little to harder to maintain.

All right, please all keep testing that branch so in a few days it could be
merged safely.

« Back to merge proposal