allankp / pytest-testrail

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

Plugin creates emty testrun when there are no cases to report #140

Open somebody1337 opened 4 years ago

somebody1337 commented 4 years ago

Describe the bug When no tests specified with pytestrail.case markers plugin creates empty testrun

To Reproduce Steps to reproduce the behavior:

  1. Run tests without pytestrail.case markers
  2. Check testrail

Expected behavior No testrun created when there are no cases to report

Actual behavior Created empty testrun