← Back to team overview

openerp-expert-framework team mailing list archive

Re: Rép : why Tiny cannot make an OERPScenario clone, so please just use it!

 

Guys,

I think Fabien's mail is an old mail that is coming now by mistake.
Strangely it's dated from February the 24th and we already got it an
answered it. I think Olivier were also mentioning a few real issues with the
OOOR version he used (including some unfortunate regressions). But all that
has been totally fixed since then and the last version of OOOR-1.3.2 now
comes with a full RSpec unit test suite (it also shows how you could use
RSpec with OpenERP by the way, along with Cucumber or interdependently)
http://github.com/rvalyi/ooor/blob/master/spec/ooor_spec.rb that would
ensure we never have such regressions again. It's also a good OOOR API
showcase for those learning it.

PS: I'll try to pass some info to C2C or OpenERP S.A. for the partner days
as I can't make the trip unfortunately. I had no reply for my proposals to
present remotely things we did such as TermniatOOOR or the revamped
report_intrastat module.

Regards,

Raphaël Valyi
http://www.akretion.com


On Thu, Mar 18, 2010 at 5:45 AM, Joël Grand-Guillaume <
joel.grandguillaume@xxxxxxxxxxxxxx> wrote:

> Hi,
>
>
> I fully agree with Nicolas I though the debate over...
>
> First, let me say I just commit the test case Olivier try to make and it
> works perfectly !
>
> We just write a full docs (here for now, soon on doc.openerp.com) :
> http://dev.camptocamp.com/files/OERPScenario/documentation.pdf
>
>
> - Creating a res.partner.address object using ResPartnerAddress.create()
> or save() does not seem to work, because it calls the strange 'allowed!'
> methods on the res.partner.address object via XMLRPC. I could not find a
> workaround for this.
>
>
> I never ever have this problem... Have a look on the last commit :
>
>
> http://bazaar.launchpad.net/~openerp-commiter/oerpscenario/OERPScenario/revision/103
>
> - Modifying a ResPartner instance and then saving it does not seem to
> work either (see my example on piratepad). This seems to trigger a write
> on all fields of the object, including the relationship fields, which
> does not work (a.o.: passes an array of arrays instead of tuples).
>
>
> Once again, have a look in the last commit... Everything is working fine,
> so please, ask to know
> how to do things properly before saying to everyone : It's not working...
>
> Well, I know we have different point of view for this testing tools. What I
> think is
> your testing suite is more for your own purpose. You are the editors and
> you have your own
> needs.
>
> We, as partner and integrator, have different need like all others
> partners. Our tools will respond
> to those needs, may be not yours...
>
> See you in the partner days,
>
>
> Joël
>
>
>
> Le 18 mars 2010 à 09:17, Nicolas Bessi a écrit :
>
> Hello,
>
> The debate was already made, and I think it is not useful to do it again.
> The conclusion is clear BDD is a must have for OpenERP, and we will have
> two system, that will have different orientation advantage and disadvantage
> (The two approaches will be presented in the community days).
>
> My point here is stop loosing energy to do vain comparisons, but invest it
> on providing the best test suite possible. We all have the same focus, and
> do our business on the same product.
>
> I will provide tests for each solutions, depending of the situation and
> functionality.
>
> What I'm waiting for Tiny/OpenERP SA is to propose of complete
> documentation on how to write test, organize them, how to do testing that is
> cross feature and module or configuration dependent, how doing test
> factorization,
> in short professional testing guidelines.  Because YAML or XML it doesnt
> matter. The main reason we do not provide test as because we didn't know how
> to do it.
>
>
> Regards
>
> Nicolas.
>
>
>
> --------------------------------------------------------------------
> Camptocamp SA
> Senior ERP consultant
> Nicolas Bessi
> PSE A
> CH-1015 Lausanne
> http://www.camptocamp.com
> http:/www.openerp.com
>
> +41 21 619 10 26 (direct)
> +41 21 619 10 10 (centrale)
> +41 21 619 10 00 (fax)
> --------------------------------------------------------------------
>
>
>
>
>
>
>
>
>
> --------------------------------------------------------------------
> Camptocamp SA
> Senior ERP consultant
> Nicolas Bessi
> PSE A
> CH-1015 Lausanne
> http://www.camptocamp.com
> http:/www.openerp.com
>
> +41 21 619 10 26 (direct)
> +41 21 619 10 10 (centrale)
> +41 21 619 10 00 (fax)
> --------------------------------------------------------------------
>
>
>
>
>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openerp-expert-framework
> Post to     : openerp-expert-framework@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openerp-expert-framework
> More help   : https://help.launchpad.net/ListHelp
>
>
> --
>
>
> *Joël Grand-Guillaume** *
> *Division Manager*
> *Business Solutions*
> *
> *
> *Camptocamp SA*
> PSE A, CH-1015 Lausanne
>
>  www.camptocamp.com
>
>
> Phone: +41 21 619 10 28
> Office: +41 21 619 10 10
> Fax: +41 21 619 10 00
> Email: joel.grandguillaume@xxxxxxxxxxxxxx
> http://www.camptocamp.com/fr/business-solutions/formations
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openerp-expert-framework
> Post to     : openerp-expert-framework@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openerp-expert-framework
> More help   : https://help.launchpad.net/ListHelp
>
>

References