Tools mailing list archives

tools@odoo-community.org

Avatar

Re: Qunit test

by
Anybox, Pierre Verkest
- 12/01/2016 10:48:38


2016-01-11 22:52 GMT+01:00 Martin Malorni <mm@microcom.ca>:
Hi Pierre,
I agree that testing the javascript is something that should be done with an increasing part of Odoo being client side.
I was wondering about the choice of Qunit and not one of the easier to use newer librairies like Jasmine or Mocha used with Chai?
If you ask me why QUnit, it's because Odoo choose it so it's already integrated:
existing module that has tests are done with QUnit and there are some documentation how to it.

I would be happy to use Jasmine, Mocha and Chaï, but I wonder if we could easily integrate it without loose 90% of developers,
also I would like to launch existing QUnit test on OCA/OCB repo.

thanks for your feed back,


Thanks for the initiative!

 
Martin Malorni
Tél & Fax Sans-frais : 1-877-640-3533 Ext. 707
 
6845, rue Jean-Talon Est
Montréal (Québec) H1S 1N2
 
From: Alexandre Fayolle <alexandre.fayolle@camptocamp.com>
Reply-To: "Odoo Community Association (OCA) Tools" <tools@odoo-community.org>
Date: Friday, January 8, 2016 at 3:08 AM
To: Tools <tools@odoo-community.org>
Subject: Re: Qunit test

Hello Pierre,

I'm not too well versed in the Javascript side of testing (and to be
totally honnest, until like 10 minutes ago, QUnit was -- wrongly --
associated to unittesting Qt applications :-) ), but I totally agree
that Testing is great (and TDD is the way to go) and therefore better
support on the OCA toolchain is needed.

I also feel that cross browser testing is a very nice thing to have. It
always sucks to discover late that such addon does not work on browser
XXX. If contributors cannot afford to make their code compatible with
all versions of all major browsers, at least having the information that
some_addon requires Chrome >= N is very valuable, and this should be
tested automatically (and maybe we can have badges for addons)

This is certainly the correct mailing list, although you may want to
poke the website mailing list (website@odoo-community.org) and maybe
also the contributors mailing list about this thread so that interested
people may join in here.

All in all, thanks for initiating this project, and I hope you'll get
great feedback from the community.

-- 
Alexandre Fayolle
Chef de Projet
Tel : +33 4 58 48 20 30

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac Cedex
http://www.camptocamp.com

_______________________________________________
Mailing-List: http://odoo-community.org/groups/tools-22
Post to: mailto:tools@odoo-community.org
Unsubscribe: http://odoo-community.org/groups?unsubscribe

_______________________________________________
Mailing-List: http://odoo-community.org/groups/tools-22
Post to: mailto:tools@odoo-community.org
Unsubscribe: http://odoo-community.org/groups?unsubscribe




--
Anybox
Pierre Verkest
06 51 35 50 50
Github: petrus-v - Twitter: petrusv84

Reference