DetachHead / pytest-robotframework

a pytest plugin that creates robotframework reports for tests written in python and allows you to run robotframework tests with pytest
https://detachhead.github.io/pytest-robotframework/
MIT License
28 stars 2 forks source link

tests always executed twice when the flaky plugin is active #307

Open likair opened 1 week ago

likair commented 1 week ago

After install pytest_robotframework, the Pytest test case is executed twice as it shows below:

image

likair commented 1 week ago

Looks like it's related to #1?

DetachHead commented 1 week ago

can you provide some more info please:

thanks

likair commented 1 week ago

platform linux -- Python 3.10.14, pytest-7.0.0, pluggy-1.5.0

metadata: {'Python': '3.10.14', 'Platform': 'Linux-5.15.133.1-microsoft-standard-WSL2-x86_64-with-glibc2.36', 'Packages': {'pytest': '7.0.0', 'pluggy': '1.5.0'}, 'Plugins': {'xdist': '3.0.2', 'html': '4.1.1', 'flaky': '3.7.0', 'pytest_robotframework': '4.2.4', 'allure-pytest': '2.13.5', 'anyio': '4.4.0', 'metadata': '3.1.1', 'timeout': '2.1.0'}}

plugins: xdist-3.0.2, html-4.1.1, flaky-3.7.0, pytest_robotframework-4.2.4, allure-pytest-2.13.5, anyio-4.4.0, metadata-3.1.1, timeout-2.1.0

addopts = "-v --capture=tee-sys --html=results/report.html --self-contained-html --junitxml=results/report.xml --alluredir allure-results"

DetachHead commented 1 week ago

looks like it's the flaky plugin