Skip to content

Add mark support #32

Open
Open
@sobolevn

Description

@sobolevn

Sometimes I want to run all FutureResult (or tests for any other type) related tests from returns.
It is a very complex task right now.

I need to:

  1. manually find all FutureResult inside tests
  2. manually copy all the paths from the query
  3. provide long list of arguments to pytest

All I want instead is:

- case: test_future_result
   marks:
     - future_result
  main: ...

And then pytest -m future_result to run this (and all other similarly marked tests).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions