{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/10"},{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/10"},{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/6"}],"enrichment":{"capability":"pytest-odoo is a pytest plugin that runs Odoo addon tests using pytest's CLI instead of Odoo's built-in test runner, enabling faster iteration during development.","skillfed_tags":["odoo-development","pytest-plugin","tdd-acceleration"],"use_cases":["Rapid test-driven development of Odoo addons without waiting for full module upgrades on each test run","Running Odoo addon tests in parallel across multiple workers using pytest-xdist for faster feedback","Integrating Odoo addon tests into a pytest-based CI/CD pipeline alongside other Python tests","Debugging individual addon tests with pytest's verbose output and filtering capabilities","Skipping at-install tests during development to focus on post-install test scenarios"],"what_it_does":"pytest-odoo bridges Odoo's unittest-based addon tests with pytest, letting developers run tests via pytest's CLI and ecosystem instead of Odoo's slower upgrade-based test runner. It's designed as a development-time tool for faster TDD iteration: you upgrade your addon once, then run tests repeatedly without re-upgrading. The plugin supports pytest-xdist for parallel test execution (creating isolated database copies per worker) and pytest-subtests for granular failure reporting.\n\nThe package requires Python 3.8 or later and depends only on pytest. It accepts Odoo configuration via command-line flags (--odoo-database, --odoo-log-level, --odoo-config, --odoo-http, --odoo-skip-at-install) or environment variables (HOST, PORT, USER, PASSWORD, ODOO_RC). The documentation notes that pytest-odoo treats all tests as post-install by default and should complement, not replace, Odoo's native --test-enable in CI pipelines.","worth_installing":"Yes, if you develop Odoo addons and want faster test iteration during development. Install it as a dev dependency alongside pytest. Be aware of the AGPLv3 license if your project has commercial distribution requirements, and remember that pytest-odoo is a development accelerator, not a replacement for Odoo's native test runner in CI\u2014use both for complete coverage."},"id":"pytest-odoo","links":{"html":"https://skillfed.io/packages/pytest-odoo","md":"https://skillfed.io/packages/pytest-odoo.md","pypi":"https://pypi.org/project/pytest-odoo/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-02","license_spdx":null,"license_treatment":"agpl","name":"pytest-odoo","python_support":"supports_current","summary":"py.test plugin to run Odoo tests"},"popularity":{"monthly_downloads":90829,"position":13561,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.2.0"}
