Skip to content

Filter tests when testplan option is provided #113

@sanderploegsma

Description

@sanderploegsma

When working with a large collection of tests and multiple test plans, it would make sense if this plugin was able to filter the tests based on whether they are part of the provided Xray test plan.

I can think of two ways of supporting this:

  1. Query the Xray API to get a list of test ids for a given test plan
  2. Add a pytest marker to each test with the test plans that contain it

The first option is more versatile as it doesn't require keeping the test decorators in sync with Xray, but it also adds some complexity to handle cases when querying the API fails.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions