Skip to content

Feature request - making custom tests interoperable with @pytest.mark.parametrize #196

@theJasonFan

Description

@theJasonFan

Thanks for the great tool. How much work would it take to make custom pytest-workflow tests to play nice with @pytest.mark.parametrize?

I believe that tests that use and are annotated by @pytest.mark.parametrize and pytest workflow's @pytest.mark.workflow will always be skipped if @pytest.mark.workflow marks the test for multiple workflows. I.e.

  • A custom test for multiple workflows with no parametrization is ok.
  • A custom test for a single workflow with parametrization is ok.
  • A custom test for multiple workflows with parametrization is not ok and is always skipped

Would this be a reasonable feature request? If there is a reasonably straightforward solution, I would not mind taking a crack at it with some input and guidance from maintainers here.

Thanks!

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