Skip to content

Standardize on a single marker name: "order" #38

@fmoor

Description

@fmoor

Reading the documentation I noticed that there are a lot of potential marker names including run(), and even custom markers proposed in #10. It seems like this has the potential to result in confusing code. Say for instance that some one is new to a project and doesn't know about pytest-ordering. What does the run marker do? Run is a very ambiguous word. I would like to suggest choosing a more specific name. As an option order might be a more intuitive name for someone reading code. The marker signature might look like this: order(pos=None, before=None, after=None).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions