• This repository has been archived on 04/Sep/2018
  • Stars
    star
    192
  • Rank 202,019 (Top 4 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created over 14 years ago
  • Updated over 14 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Integration testing for iPhone applications with Cucumber

iCuke¶ ↑

iCuke allows you to test an iPhone application with cucumber. It provides a selection of step definitions similar to those provided for testing web applications.

Usage¶ ↑

Install the gem and load the iCuke step definitions in a cucumber support file:

require ‘icuke/cucumber’

Write some scenarios like:

Background:
  Given "iCuke" from "app/iCuke/iCuke.xcodeproj" is loaded in the simulator

Scenario: User views the About screen
  When I tap "About"
  Then I should see "Author:"

How it works¶ ↑

iCuke launches your application into the iPhone Simulator. A preload library is used to add a HTTP server into your application.

The HTTP server allows us to see an XML version of the iPhone’s screen, and to emulate taps/swipes etc.

iCuke should not require any code changes to your application to work, however, it relies on accessibility information to function sensibly. If your accessibility information is not accurate, iCuke may not work as expected.

Bugs¶ ↑

iCuke does not support testing applications on real devices, because I don’t know of a way get a preload library to load on the device.

iCuke does not support pinches yet. They’ll be here soon!

iCuke compiles against the latest 3.1 and 4.0 SDKs it can find. Compiling against 3.2 is not currently supported as Apple have released two versions with different ABIs.

Contributors¶ ↑

  • Nigel Taylor

  • Aslak Hellesøy

  • Dominic Baggott

  • Jeff Morgan

  • Luke Redpath

Thanks¶ ↑

Thanks go to the people who’s work iCuke is based on:

  • Matt Gallagher

  • Ian Dees

  • Felipe Barreto

Note on Patches/Pull Requests¶ ↑

  • Fork the project.

  • Make your feature addition or bug fix.

  • Add tests for it. This is important so I don’t break it in a future version unintentionally.

  • Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)

  • Send me a pull request. Bonus points for topic branches.

Copyright © 2010 Unboxed Consulting. See LICENSE for details.

More Repositories

1

be_valid_asset

Markup and asset validation for RSpec
Ruby
32
star
2

aws-ansible-autoscaling-and-code-deploy

AWS, Ansible, and CodeDeploy demo - Deployment Repo
Ruby
13
star
3

bops

Back Office Planning System (BOPS)
Ruby
9
star
4

newrelic_puma_plugin

Newrelic Puma Plugin
Ruby
8
star
5

Beta-Bops-Design-Prototypes

We are experimenting with the GOV UK toolkit as a way to prototype the Back-office Planning System
HTML
6
star
6

rspec-sitemap-matchers

Sitemap protocol matchers for RSpec
Ruby
6
star
7

tabnav

Rails helper for generating navbars
Ruby
6
star
8

Javascript-Style-Guide

5
star
9

aws-ansible-autoscaling-and-code-deploy-app

AWS, Ansible, and CodeDeploy demo - App Repo
Shell
4
star
10

ansible_ssh_server_static_keys

Ansible Role for Managing static SSH keys for servers
4
star
11

dokku-dashboard

Dashboard for apps running on a dokku instance
Ruby
4
star
12

unboxed.co

The UBXD website
HTML
3
star
13

docker-feed-validator

Docker instance of http://validator.w3.org/feed/
Shell
3
star
14

nsc-beta

Prototypes for the National Screening Committee beta project
HTML
2
star
15

munin_plugins

Perl
2
star
16

petition-map

Visualising government petitions
JavaScript
2
star
17

bops-applicants

Ruby
1
star
18

phe-nsc-alpha

PHE NSC Alpha prototype
CSS
1
star
19

docker-mailcatcher

Docker instance of http://mailcatcher.me/
Dockerfile
1
star
20

ansible-ssh-server

Ansible SSH server config for Ubuntu
1
star
21

ubxd_support_rota

An easy way to generate the support rota for Unboxed Consulting in wiki markup
Ruby
1
star
22

network_speed_daemon

Ruby
1
star
23

asterisk-role

Asterisk Ansible role
1
star
24

voodoo-sms-ruby

Ruby gem for VoodooSMS API
Ruby
1
star
25

email_signature_creator

Applescript to create a mail supported unboxed signature
AppleScript
1
star
26

front_end_test

Front End test
1
star
27

cautious-guacamole

Ruby
1
star
28

mxit_api

gem to use the Mxit APIs at http://dev.mxit.com/docs/
Ruby
1
star
29

paapi

Planning Applications API
Ruby
1
star
30

Unit_Testing_Controllers_Iphone

Sample xcode project on how to unit test a TableVieController
Objective-C
1
star
31

thankerino

your daily dose of appreciation
Ruby
1
star
32

planning-applications-map

JavaScript
1
star
33

newsletter

Unboxed developers newsletter
JavaScript
1
star