GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - google/xctestrunner: A executable binary to run prebuilt iOS tests on iOS simulator/real device.

BranchesTags
Open more actions menu

Latest commit

 

History

97 Commits
97 Commits

Folders and files

NameName
Last commit message
Last commit date
xctestrunner
xctestrunner
 
 
.gitignore
.gitignore
 
 
AUTHORS
AUTHORS
 
 
BUILD
BUILD
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
MODULE.bazel
MODULE.bazel
 
 
README.md
README.md
 
 
WORKSPACE
WORKSPACE
 
 
__init__.py
__init__.py
 
 

Repository files navigation

XCTestRunner

A tool for running prebuilt iOS tests on iOS real device and simulator.

Features

  • It supports XCTest (Xcode Unit Test), XCUITest (Xcode UI Test).
  • It supports iOS 11+ iOS real device, iOS simulator.
  • It supports launch options configuration: test methods to run, additional environment variables, additional arguments.
  • It supports Xcode 10+.

Prerequisites

  • Install Xcode (Xcode 10+).
  • Install bazel (optional).

Installation

You can download the ios_test_runner.par binary in release

or build the ios_test_runner.par binary by bazel:

$ git clone https://github.com/google/xctestrunner.git
$ cd xctestrunner
$ bazel build :ios_test_runner.par
$ ls bazel-bin/ios_test_runner.par

Usage

  • Build your app under test and test bundle. You can use Xcode.app, xcodebuild command line tool or bazel.
  • Run the ios_test_runner.par binary.

In overview, there are two sub-commands in the runner binary.

  • test: Run test directly on connecting iOS real device or existing iOS simulator.
  • simulator_test: Run test on a new created simulator, which will be deleted after test finishes.

See more details by running ios_test_runner.par -h in terminal.

Notes

Disclaimer: This is not an official Google product.

XCTestRunner uses Apple native tool xcodebuild, simctl to control iOS Simulator and launch tests on iOS devices.

About

A executable binary to run prebuilt iOS tests on iOS simulator/real device.

Resources

Readme
Apache-2.0 license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

158 stars

Watchers

12 watching

Forks

70 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.