odoo-test
odoo-test provides a complete testing framework for Odoo development, generating test skeletons from model definitions, running test suites with tag filtering, and identifying coverage gaps. It supports multiple test class types—TransactionCase for ORM logic, HttpCase for routes and UI, and SavepointCase for exception handling—plus 20+ mock data generators and Azure DevOps CI/CD integration.
odoo-test generates test skeletons and CRUD test cases for Odoo models across versions 14–19.
AI-generated summary based on this skill's SKILL.md
Decision gist · record as of 2026-03-28
odoo-test generates test skeletons and CRUD test cases for Odoo models across versions 14–19. odoo-test provides a complete testing framework for Odoo development, generating test skeletons from model definitions, running test suites with tag filtering, and identifying coverage gaps. It supports multiple test class types—TransactionCase for ORM logic, HttpCase for routes and UI, and SavepointCase for exception handling—plus 20+ mock data generators and Azure DevOps CI/CD integration.
Use it when
- Yes.
- odoo-test supports TransactionCase for ORM logic testing and HttpCase for controller route testing.
Verify before relying
Read SKILL.md below before installing (5 files). Open directory: indexed for reading, not audited.
Install
ahmed-lakosha/odoo-plugins/odoo-test · repository language: Python
Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.
Frequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
What is odoo-test and what testing capabilities does it provide?
odoo-test is a complete testing framework for Odoo development under MIT license. It generates test skeletons from model definitions, runs test suites with tag filtering, and identifies coverage gaps. The skill supports multiple test class types—TransactionCase for ORM logic, HttpCase for routes and UI, and SavepointCase for exception handling—plus 20+ mock data generators and Azure DevOps CI/CD integration.
Can odoo-test generate test cases for Odoo models automatically?
Yes. odoo-test generates test skeletons and CRUD test cases for Odoo models, creating realistic mock data and test fixtures for Odoo modules. It provides 20+ mock data generators to help you build comprehensive test suites without manual boilerplate, supporting both simple and complex model scenarios.
How does odoo-test handle transaction case and HTTP case testing?
odoo-test supports TransactionCase for ORM logic testing and HttpCase for controller route testing. You can write HTTP controller and E2E tests for Odoo routes and APIs, with SavepointCase available for exception handling and constraint validation. This multi-class approach ensures thorough coverage across different testing scenarios.
Does odoo-test analyze test coverage gaps in my code?
Yes. odoo-test can analyze test coverage gaps and identify untested code paths in your Odoo modules. This helps you understand which areas of your codebase need additional test cases and ensures more comprehensive validation of your business logic.
Can odoo-test run and manage test suites with CI/CD integration?
Yes. odoo-test runs and manages test suites with tag filtering and Azure DevOps CI/CD integration. You can organize tests by tags, filter execution, and integrate results into your CI/CD pipeline for automated testing and post_install test validation.
SKILL.md
Rendered from the published skill. Quoted content, verbatim.
name: odoo-test description: | Comprehensive Odoo testing toolkit for generating test skeletons, running test suites, creating mock data, and analyzing test coverage across Odoo 14-19. Supports TransactionCase, HttpCase, SavepointCase, and integrates with Azure DevOps for CI/CD test result reporting.
<example> Context: User wants test cases for a custom model user: "Generate test cases for my custom sale.order extension module" assistant: "I will use the odoo-test skill to analyze the model definition and generate TransactionCase test skeletons covering CRUD operations, computed fields, and business logic." <commentary>Core trigger - test skeleton generation from model definition.</commentary> </example>
<example> Context: User wants mock data for testing user: "Create realistic mock data for testing my inventory module" assistant: "I will use the odoo-test skill to generate a mock data factory with realistic product, partner, and stock.move records using Odoo demo data patterns." <commentary>Test data creation trigger.</commentary> </example>
<example> Context: User wants to analyze test coverage user: "Show me which parts of my module have
(truncated - see the full file via the links below)
File tree — 5 files
odoo-test-plugin/odoo-test/SKILL.md
odoo-test-plugin/odoo-test/scripts/coverage_reporter.py
odoo-test-plugin/odoo-test/scripts/mock_data_factory.py
odoo-test-plugin/odoo-test/scripts/test_generator.py
odoo-test-plugin/odoo-test/scripts/test_runner.py
Let your AI agent find skills like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.
wish › “Generate test skeletons and CRUD test cases for Odoo models”
Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →
Related skills
Odoo i18n handles the full translation lifecycle for Odoo 14-19 modules: extracting translatable strings from Python, XML, and JavaScript into .pot templates and language-specific .po files, validating syntax and format specifiers, and managing RTL layouts for Arabic and other right-to-left languages. It includes tools for gap analysis, encoding checks, and deployment troubleshooting.
Django Expert delivers in-depth instruction on the Django framework for constructing robust Python web applications. It covers the MVT pattern, database modeling through ORM, view logic, template rendering, URL routing, form handling, and Django's authentication system. The skill also explores REST API development and admin interface customization.
Django Expert guides you through building production-grade REST APIs using Django and Django REST Framework. It covers model design with database indexes, query optimization via select_related and prefetch_related, serializer validation, viewset implementation, and authentication setup. The skill enforces best practices like environment-based secrets, proper permissions, and comprehensive testing.
odoo-docker manages Docker infrastructure for Odoo 14-19 Enterprise deployments, automating production setups with nginx, PostgreSQL, and SSL termination. It generates optimized compose files, handles container troubleshooting, and provides performance tuning recommendations via natural language commands.
This skill teaches you to thoroughly test domain layer code using pytest, covering value object validation and immutability, entity identity and business logic, and domain invariants. Learn patterns for reaching 95%+ coverage on pure domain models without external dependencies or mocks.
Testing guides you through designing effective test suites, writing unit and integration tests, and applying test-driven development practices. It covers test strategy, the AAA pattern, test fixtures, mocking dependencies, and framework-specific approaches for React, Angular, Python, Java, and Kotlin.