Tools mailing list archives
tools@odoo-community.org
Browse archives
Re: Qunit test
by
Anybox, Pierre Verkest
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.
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!6845, rue Jean-Talon EstMontréal (Québec) H1S 1N2From: 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 testHello 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
--
Reference
-
Qunit test
byAnybox, Pierre Verkest-
Thanks for this great contribu [...]
byOpen Source Integrators, Maxime Chambreuil