francybiga / xctestcaseparser

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:MIT License


Languages

Language:Swift 99.1%Language:Shell 0.9%