CrashMonkey alternatives and similar libraries
Based on the "UI Testing" category.
Alternatively, view CrashMonkey alternatives based on common mentions on social networks and blogs.
9.2 5.7 L1 CrashMonkey VS CucumberA home for issues that are common to multiple cucumber repositories
8.9 0.0 L2 CrashMonkey VS BluepillBluepill is a reliable iOS testing tool that runs UI tests using multiple simulators on a single machine
8.2 0.0 L5 CrashMonkey VS SwiftMonkeyA framework for doing randomised UI testing of iOS apps
6.2 0.0 L5 CrashMonkey VS ios-driverSelenium server to test native, hybrid and web apps on IOS. Join us on IRC #ios-driver on freenode
5.8 8.8 CrashMonkey VS Marathon RunnerCross-platform test runner written for Android and iOS projects
5.7 0.0 L5 CrashMonkey VS LayoutTest-iOSWrite unit tests which test the layout of a view in multiple configurations
4.4 0.0 CrashMonkey VS AutoMateSwift framework containing a set of helpful XCTest extensions for writing UI automation tests
3.5 0.0 L5 CrashMonkey VS Floater_Add a floating fingertip to your app demo. www.buglife.com
Testing the UI without UI Testing, a Swift experiment.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of CrashMonkey or a related project?
It is confirmed only in the following environment.
- Max OS X 10.8.4
- Xcode 4.6.3(Build version 4H1503)
- Ruby 1.8.7-p371
Ruby versions may be OK 1.9.x and 2.0.x.
- No need to modify the app's project.
- It can specify the running period and times.
- The results of Screenshots and Operations history can be shown as HTML.
- the console log and crash report can be shown.
- It is easy to be used from CI tools like Jenkins.
- It can be run only in iPhone Simulator.
- The test can not continue when another application(like Safari) is the most front. (detect and finish the test).
- It can not input suitable characters like ID/Pass.
gem install crash_monkey --no-ri --no-rdoc
How to use
crash_monkey -a <APP_NAME or APP_PATH> -w <DEVICE>
-a specify AppName or PATH.
-w specify the device on which to run. A list of available devices can be obtained with
crash_monkey --list-devices. In case no device is specified, it will take the first from the list.
crash_monkey -a MyAwesomeApp.app # (1) crash_monkey -a build/Debug-iphonesimulator/MyAwesomeApp.app # (2) crash_monkey -a ~/Library/Developer/Xcode/DerivedData/MyAwesomeApp-ffumcy/Build/Products/Debug-iphonesimulator/MyAwesomeApp.app # (3)
in (1) case, an application is executed which matches the app's name installed in iPhone Simulator. If there are same name apps, the app of latest updated time is used.
in (2)(3) cases, an app which in the PATH is excuted. It is required that the app is built for iPhone Simlator.
The times for monkey test excution.
The directory for output results.
Timeout seconds for one monkey test.
Specify configuration file(JSON format) for UIAutomation library.
The template is shown by
It could be used for login.(example)
Output configuration for UIAutomation library by JSON format.(example)
List apps for iPhone Simulator.
List devices (simulator and attached) on which the monkey can be run.
Reset iPhone Simulator.
CrashMonkey has CUI interface, so easy to use from Jenkins. There are a few notes.
Confirmation dialog from UIAutomation is displayed and stop tests.
The first time in the Mac CrashMonkey run, Instruments(UIAutomation) may display a confirmation dialog and require to input password.
In this case, the test can not run if the password is not entered. The following management may be valid.
- The Jenkins running User has Administration privilege.
In case Jenkins is running as slave, launch with X like following.
The first time a Jenkins Job runs in the Mac, if the dialog is displyed then input correct password.
Other conditions may be OK, but this is also work.
CASE: xcode-select is not set.
% crash_monkey -a MyGoodApp.app ..... Run: ["instruments", "-l", "100000", "-t", ........... ] xcode-select: Error: No Xcode folder is set. Run xcode-select -switch <xcode_folder_path> to set the path to the Xcode folder. .....
Please specify the install path of Xcode by xcode-select.
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
Contributing to CrashMonkey
- Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
- Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
- Fork the project.
- Start a feature/bugfix branch.
- Commit and push until you are happy with your contribution.
- Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
- Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
Copyright (c) 2013 Ken Morishita. See LICENSE.txt for further details.
*Note that all licence references and agreements mentioned in the CrashMonkey README section above are relevant to that project's source code only.