Run tests using xctool

You can run any xctool action. This will require having xctool installed through homebrew. It is recommended to store the build configuration in the .xctool-args file. More information available on GitHub: https://docs.fastlane.tools/actions#xctool

Supported platforms ios, mac
Author @KrauseFx

2 Examples

xctool :test
# If you prefer to have the build configuration stored in the `Fastfile`:
xctool :test, [
  "--workspace", "'AwesomeApp.xcworkspace'",
  "--scheme", "'Schema Name'",
  "--configuration", "Debug",
  "--sdk", "iphonesimulator",
  "--arch", "i386"
].join(" ")

To show the documentation in your terminal, run

fastlane action xctool

View source code

Back to actions