allankp / pytest-testrail

pytest plugin for integration with TestRail, for creating testruns and updating results
MIT License
96 stars 124 forks source link

Plugin does not run particular test cases from test run, it runs all from test suite #160

Open EvgeniyRub opened 2 years ago

EvgeniyRub commented 2 years ago

Describe the bug When we create test run in TestRail and choose particular test case from test suite always all test cases run instead of what was choosen.

To Reproduce Steps to reproduce the behavior: on TestRail 1.Create test suite

  1. Create 2 test cases (All cases marked @pytestrail.case('CXXX') in pytest)
  2. Create Test plan
  3. Create test run and choose only 1 test case to test
  4. Run test: pytest -testaril --tr-run-id=1115 /tests

Expected behavior Only one test case runs from test run

Actual behavior All test cases run