A JavaScript library to ease automated iOS UI testing with UIAutomation and Instruments.
JavaScript Ruby
Latest commit 456fede May 3, 2016 @vkolgi Merge pull request #88 from MYOB-Technology/master
Fix start-up delay when creating nil singleton.
Permalink
Failed to load latest commit information.
test_runner Fix for path change in Instruments 6.0. Correct path will automatical… Sep 24, 2014
LICENSE
README.md Update readme with style preferences as per @alexvollmer Jan 30, 2014
assertions.js
image_asserter
image_assertion.js Reworked image-matching assertion internals Jun 3, 2014
image_assertion.rb Tweaks error-reporting in image assertion script Jun 6, 2014
lang-ext.js
screen.js
test.js
tuneup.js
tuneup_js.podspec
uiautomation-ext.js

README.md

Overview

Tune-up is a collection of JavaScript utilities that builds upon and improves the UIAutomation library provided by Apple for testing iOS applications via Instruments (get it? "tune-up"? Instruments? get it?).

While the JavaScript library provided by Apple is fairly complete and robust, it is a bit wordy and repetitive at times. This project aims to reduce as much pain as possible when writing UI tests by enhancing the existing API. It also provides some basic structure for your tests in a manner familiar to most testers.

For the latest documentation visit http://tuneupjs.org

Style

Javascript style should conform to http://jsbeautifier.org/ with the following settings:

  • Indent with 2 spaces (drop down)
  • Allow 5 newlines between tokens (drop down)
  • Do not wrap lines (drop down)
  • End braces on own line (drop down)
  • HTML formatting at Add one indent level (drop down)
  • Only the following checkboxes set
    • "Detect packers and obfuscaters?"
    • "Space before conditional..."