Skip to content

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

License

Notifications You must be signed in to change notification settings

tcamin/xctestcaseparser

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published