devolo / pytest-adaptavist

pytest plugin generating test execution results within Jira Test Management (tm4j)
MIT License
8 stars 11 forks source link

Fix collection on invalid test_run #48

Closed Shutgun closed 1 year ago

Shutgun commented 1 year ago

If a test cycle was configured, but for what ever reason this test cycle couldn't be queried (e.g. wrong credentials or non-existing test cycle was configured), the plugin collected all test cases and ran them. However, the readme states, that test cases not linked to the test cycle are skipped, if append_to_cycle isn't set. So it more suitable, to skip the tests in that case.

Fixes: #47