Community: Framework mailing list archives

Re: How to run tests?

Leonardo Pistone
- 09/17/2014 10:46:39
> The openerp-command package says it's legacy.  The openerp-server has an
> '--test-enable' but passing it seems to do nothing, it just runs the server.

In addition to --test-enable, you should also pass -u followed by the
module you want to test, --stop-after-init, and to log all tests that
are being run, --log-level=test (or in v8, --log-level=debug)