Skip to content

twotoasters/UISpecRunner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Provides support for:

  • 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

TODO

  • Auto-detect SDK versions available
  • Rake file template
  • Support for running specific files
  • Support for running non-headless (either via AppleScript or iphonesim)
  • Generate a Kicker script

Copyright

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