← Back to team overview

openerp-community team mailing list archive

Re: OCB branches, communitiy addons and tests

 

Thanks for raising that important point Nicolas.

Let us check what happened:

https://bugs.launchpad.net/openobject-addons/+bug/924200

If I understand correctly, Raphael Collet is saying that all periods in
demo data are allowed to overlap to allow people to create a chart of
accounts in a demo database. That is a special and non-standard situation
that breaks tests that use periods.

Integration tests (both unittest and yaml) use demo data. That means that
we use a very different setup for production and testing. That is
unfortunate, especially as we gradually start to take testing seriously -
at least there is a good trend in that respect in the community.

Best,
Leo


On Wed, Mar 19, 2014 at 8:41 AM, Nicolas Bessi <nicolas.bessi@xxxxxxxxxxxxxx
> wrote:

> Hello,
>
> Due this bug
> https://bugs.launchpad.net/account-financial-report/+bug/1281579 we have
> some communitiy addons and MP that have green tests on OCB and red tests on
> official addons.
> That raises an interesting question, should community addons tests in
> priority been green against OCB branch, or official branches ?
>
>  The answer to that question will have an impact on MP review and should
> be written on community review guideline.
>
> Regards
>
> Nicolas
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openerp-community
> Post to     : openerp-community@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openerp-community
> More help   : https://help.launchpad.net/ListHelp
>
>

References