allankp / pytest-testrail

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

New option that prevents publishing blocked tests #44

Closed apallier closed 6 years ago

apallier commented 6 years ago

This PR implements a new option --tr-dont-publish-blocked that prevents publishing blocked tests in TestRail.

Use case: I have an existing testrun in TestRail with blocked tests. I know these blocked tests should not be executed anymore (known bugs, feature not ready...) and I would like to prevent pytest to publish "failed" status on these tests.

allankp commented 6 years ago

@apallier can you merge master in please