Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 510 Bytes

README.md

File metadata and controls

17 lines (10 loc) · 510 Bytes

xctestcaseparser

A simple utility to extract the list of tests in swift XCTestCases.

This can be particularly useful when splitting UI Tests in parallel.

Usage

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

Options

  • --extract_protocols: will print the protocols that the class conforms to
  • --exclude: a patters of files to be excluded