I am looking forward to list all the (pytest) test cases in the form of CSV.
Use case scenario: We already have test cases defined for multiple platforms and databases. These test cases are organized/grouped based on different markers (Ex : platform_linux, platform_centos, db_maria, db_mongo, db_redis etc).
I want to create a CSV file, that contains all the markers and test cases that belong the marker.
Sample of CSV file:
> Marker, Test Cases
> platform_linux, [test_linux1, test_linux2...]
> db_mariadb, [test_mariadb1, test_mariadb2...]
Goal here is to process the CSV file and derive all the tests running on Linux platform with mariadb.
I did get get some answers on collecting test cases (--collect-only) can it be used to create desired CSV?, Do we have existing plugins to achieve the same?