A simple utility to extract the list of tests in swift XCTestCases.
This can be particularly useful when splitting UI Tests in parallel.
Call the script by passing one or more .swift source files to be parsed (wildcards accepted)
xctestcaseparser xctestcaseparser <options> [files]
This will return a JSON array with the list of tests
--extract_protocols
: will print the protocols that the class conforms to--exclude
: a patters of files to be excluded