qase-tms / qase-python

Qase TMS Python SDK
https://developers.qase.io
26 stars 26 forks source link

qase-pytest not worked with @pytest.mark.skip #24

Closed berpress closed 2 years ago

berpress commented 2 years ago

Reason

            elif report.skipped:
                if self.nodes_with_ids[item.nodeid]["result"] in (
                    None,
                    TestRunResultStatus.PASSED,
                ):
                    **result('skipped')**
            else:
                if self.nodes_with_ids[item.nodeid]["result"] is None:
                    result(TestRunResultStatus.PASSED)

Need to change

result(TestRunResultStatus.SKIPPED)

file https://github.com/qase-tms/qase-python/blob/master/qase-pytest/src/qaseio/pytest/plugin.py

1ivliev commented 2 years ago

Thank you for your feedback, fixed in the version qase-pytest-v2.3.2.