No release in over a year
xcmonkey is a tool for doing randomised UI testing of iOS apps
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

= 1.3.1
 Project Readme

Description

This fastlane plugin is a wrapper for xcmonkey - a tool for doing stress testing of iOS apps.

It replicates xcmonkey test command.

Option Description Default
udid Set device UDID
bundle_id Set target bundle identifier
session_path Path where test session should be saved
event_count Set events count 60
exclude_taps Exclude taps from gestures list false
exclude_swipes Exclude swipes from gestures list false
exclude_presses Exclude presses from gestures list false
disable_simulator_keyboard Disable simulator keyboard false
ignore_crashes Ignore app crashes false
throttle Fixed delay between events in milliseconds 0

Prerequisites

brew install facebook/fb/idb-companion
pip3.6 install fb-idb

Getting Started

To get started with xcmonkey, add it to your project by running:

fastlane add_plugin xcmonkey

Usage

lane :test do
  bundle_id = 'com.apple.Maps'
  device = 'iPhone 14'
  sim = FastlaneCore::Simulator.all.filter { |d| d.name == device }.max_by(&:os_version)
  udid = sim.udid

  xcmonkey(udid: udid, bundle_id: bundle_id)
end