Now that you know how to write tests, let's see how you can run them!
Running server tests
Getting ready
We will reuse the tests for the my_module module from one of the previous recipes. You will need an instance with the addon installed. In this recipe, we assume that the instance configuration file is in project.cfg.
How to do it...
To run the tests for my module addon, install the module with demo data:
$ ./odoo-bin -c project.cfg --without-demo=False --stop-after-init \
-i my_module
Then, run the following command:
$ ./odoo-bin -c project.cfg --test-enable -...