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

crash when running xdist with class that has more tests than workers, and one test fails #263

Closed DetachHead closed 4 months ago

DetachHead commented 4 months ago
class TestFoo:
    @staticmethod
    def test_one():
        pass

    @staticmethod
    def test_two():
        raise Exception("asdf")
pytest -n 1 -k TestFoo
robot.errors.DataError: Suite 'TestFoo' contains no tests after model modifiers.