reportportal / agent-python-pytest

Framework integration with PyTest
Apache License 2.0
94 stars 103 forks source link

Common suite for tests(Xdist) #318

Closed ageleisha-ms closed 1 year ago

ageleisha-ms commented 1 year ago

Hello, I want to clarify one moment about Xdist. Is it expected behavior when each Xdist worker creates its own suite? RP - Build: 5.7.2

pytest-xdist==2.5.0 pytest==7.1.3 reportportal-client==5.2.5 pytest-reportportal==5.1.2

Additional settings: rp_hierarchy_code = True rp_hierarchy_dirs_level = 1

Run cmd: py.test test_file.py --tx 2*popen --dist loadgroup --reportportal

image

Thanks.

HardNorth commented 1 year ago

Yes, it is expected, the same as for another property:

rp_hierarchy_dirs = True - Enables hierarchy for tests directories, default False. Doesn't support 'xdist' plugin.