openerp-expert-framework team mailing list archive
-
openerp-expert-framework team
-
Mailing list archive
-
Message #01212
Questions about tests in v8 (trunk)
Hi there, I'm starting to take a look at the future v8, and have a few
questions about testing practices.
First, openerpcommand's run_test option has been removed (actually in
saas-3) with this comment :
"remove run_tests command, use -d -u modname --test-enable or --test-file"
Was it considered a useless duplication, or is there a deeper reason to
that ?
For the record, at Anybox, we're using mostly nosetests to run openerp
modules tests, because of its superior flexibility (test selection,
replay, coverage, profiling), but our integration is a bit crude for the
time being.
I also noticed the addition of grunt tests. Is there a reference doc or
statement about these ?
Lastly, 'oe initialize' now has a mandatory port argument. My guess is
that it's for PhantomJS tests. If true, wouldn't it be better to skip
the phantomjs tests if no port is supplied ? Some people may want to run
them separately. Some other people may want to be able to init a db
without reserving a port.
Thanks all for the hard work !
Regards,
--
Georges Racinet
Anybox SAS, http://anybox.fr
Bureau: 09 72 39 50 97 / 09 72 39 13 06
Portable: 06 51 32 07 27
GPG: 0x33AB0A35, sur serveurs publics
Attachment:
signature.asc
Description: OpenPGP digital signature
Follow ups