Community mailing list archives

community@mail.odoo.com

Re: Running tests on Odoo 8

by
Daniel Reis
- 09/17/2014 04:47:48
> Thanks Daniel, but I still can't seem to find any test output when I
> run the command. And if I specify a --test-report-directory it is
> still empty after running.

AFAICT tests work iv v8 just like they did in v7.
Try a command like this:

/openerp-server --addons-path=... -d mydb --log-level=test -i sale 
--test-enable

(see https://www.odoo.com/forum/help-1/question/how-to-run-tests-526)


>Where does Travis find the nice test
> summary written below?

That's implemented by the OCA/maintainer-quality-tools.
The source code is here: 
https://github.com/OCA/maintainer-quality-tools/blob/master/travis/travis_run_tests

/DR