Running tagged Python test cases

When you run the Odoo server with the --test-enabled module, the test cases run immediately after the module is installed. If you want to run a test case after the installation of all the modules, or if you just want to run a test case for only one module, a tagged() decorator is the answer. In this recipe, we will illustrate how to use this decorator to mold test cases.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset