Skip to content

Filtering test using odoo test tagged - how to avoid running at_install test ? #37

@petrus-v

Description

@petrus-v

I'd like to skip test class decorated with the "at_install" odoo test tags while running my test using pytest.

Is there already some way to do so without adding extra line in code source ?

It works properly using Skip decorator @pytest.mark.skip(reason="Do not run at install test using pytest"), I was wondering if there are some plan to provide those tags as pytest marker to be able to filter those tests ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions