odoo-testing
Installation
SKILL.md
Odoo testing — the gate
The odoo-introspect skill stops the agent guessing; this stops the patch silently breaking something else. A customization isn't done until it's proven. Require all of this before submitting or merging.
Version floor: Odoo 17/18, through Odoo 19 (current LTS). The class/decorator names below are v17/18; for v16 and older see skills/odoo-introspect/references/version-matrix.md. Note newer online versions don't load demo data by default — don't rely on a demo record existing in a test; create what you assert on.
Where tests live
Python tests go in a tests/ subpackage, imported from tests/__init__.py — Odoo only collects tests that are imported. The package loads only when the module is installed/updated with --test-enable.
my_module/
├── __init__.py
└── tests/
├── __init__.py # from . import test_sale_confirm
└── test_sale_confirm.py