0.01
No commit activity in last 3 years
No release in over 3 years
Provides a simple Ruby interface for running UISpec iPhone tests
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.2.9

Runtime

= 1.0.1
>= 0
>= 0
 Project Readme

UISpecRunner

By Blake Watters blake@twotoasters.com

A flexible CLI test runner for use with the UISpec iOS BDD framework.

Install the gem and run: uispec -h for details.

Requirements

To utilize the uispec utility, you must add the UISpecRunner category to your project. This category provides support for running specs by Protocol and provides a general environment variable based runner. The category header and implementation file as well as a main.m are available in the src/ directory with this gem. Use gem edit uispecrunner or pull them from Github.

NOTE - Be sure you update your app delegate class in main.m if necessary. Compare the call to UIApplicationMain from your normal app's main.m to the spec runner. Example: int retVal = UIApplicationMain(argc, argv, nil, @"MyAppDelegateClassHere");

Features

  • Running all specs
  • Running all specs in a class
  • Running a specific spec class and method
  • Switches for targeting different iOS SDK versions, project files, configurations and targets
  • Starting securityd daemon to allow interaction with the keychain
  • Support for reading configuration settings from
  • A Ruby API for configuring your own spec runners
  • Will read common arguments from uispec.opts file for easy per project configuration
  • Includes a sample Rakefile for running your UISpec's
  • Support for setting arbitrary environment variables on the runner
  • Builds project using xcodebuild
  • Supports running specs via shell or AppleScript (osascript)

TODO

Copyright

Copyright (c) 2010 Blake Watters. See LICENSE for details.