Odoo unit testing: writing reliable tests for custom modules with TransactionCase and tagged suites
Odoo ships with a full testing framework built on Python unittest. This guide covers the TransactionCase and SavepointCase base classes, how to write effective tests for ORM methods, onchanges, wizards, and controllers, and how to run selective test suites in CI without triggering the full module install.
Read article
