Skip to content
This repository has been archived by the owner on Feb 1, 2018. It is now read-only.

Upgrading from v1 to v2

Bradley Grzesiak edited this page Sep 4, 2013 · 5 revisions

Version 2 of bwoken deprecates rake as the invocation mechanism. Version 2.2 will completely remove invocation via rake. Instead, you use the bwoken executable.

Passing arguments

Running focused tests

This is for when you only want to run one test in particular on all device types (iPhone and iPad).

Old way (v1):

$ RUN=focused_test rake

New way (v2):

$ bwoken --focus=focused_test

Specify a device

This is for when you only want to run tests on either the iPhone or iPad simulator.

Old way (v1):

$ FAMILY=iphone rake # not sure this even worked

New way (v2):

$ bwoken --device=iphone

Force simulator

If you have an iDevice attached via USB, bwoken will automatically run tests on it. If you don't want that, you can force bwoken to use the simulator.

Old way (v1):

$ SIMULATOR=true rake

New way (v2):

$ bwoken --simulator
Clone this wiki locally