-
-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Labels
enhancementNew feature or requestNew feature or request
Description
The CI is often giving a false positive when unit tests using upstream common tests classes that are tagged to skip in some conditions, like a missing Charts of Account.
This results in:
- Tests succeeding because they are never executed
- Coverage failing, but often ignored during reviews
Odoo will emit a log like this in such cases, which could perhaps be detected by checklog-odoo .. ?
2025-08-22 05:43:43,275 470 INFO odoo odoo.tests.suite: skipped setUpClass (odoo.addons.pos_default_partner.tests.test_pos_default_partner.TestPosDefaultPartner) : Accounting Tests skipped because the user's company has no chart of accounts.
It would require some improvements, though, to be able to catch specific INFO logs
In the context of OCA, I don't think we ever want to skip a unit tests. So there are probably no valid reasons to not fail when a test is skipped
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request