an iPad/iPhone to test and demonstrate the features of the briar gem:
https://github.com/jmoody/briar
briar extends the calabash-ios gem.
i have several iOS projects that use calabash-cucumber and i found i was rewriting lots of steps and supporting code.
i want to provide an iOS app that the calabash community can use to test the calabash framework.
a while back, i tried to port the calabash-ios-server to ARC to fix a leak that was causing one of my tests to occasionally crash. i did my conversion and realized there was no way to see if my changes broke calabash; there was no app that comprehensively tested all the calabash features.
some of images used are from Glyphish.
this is the license: http://www.glyphish.com/license.txt
i purchased these images.
please be nice - don't gank them.
buy a copy of Glyphish for yourself.
the emoticons are from Recovery Warriors LLC.
please don't distribute them.
http://www.appcoda.com/ios-programming-uicollectionview-tutorial/
the default cucumber profile sets NO_LAUNCH=1
which implies 'do not launch with instruments'.
# test against the simulator no launching
$ cd Briar/
$ cucumber
to test with NO_LAUNCH=0
(launch with instruments)
# test agains the simulator - launch with Instruments (iOS 7) or sim_launcher (iOS 6)
$ cd Briar/
$ cucumber -p launch
have a look at the cucumber.yml
file to see how to test on devices.
$ cd Briar/
$ cucumber -p earp
$ cucumber -p venus
$ cucumber -p neptune
$ cucumber -p neptune_launch
$ cucumber -p pluto
The briar binary provides useful commands to improve your calabash workflow.
There is detailed help about how to use the .xamarin convention and dotenv to setup your environment.
# help
$ briar help
$ briar help console
$ briar help .xamarin
# open a console against simulators
$ briar console sim6 <== against the current simulator
$ briar console sim7 ipad_r_64 <== changes the default simulator
# open a console against named devices
$ briar console venus
$ briar console neptune
# install the calabash server from a local repo and remove all stale simulator targets in one command
$ briar install calabash-server
# do a clean install of your .ipa on named device
$ briar install pluto
$ briar install earp
# open a cucumber html report in your default browser
$ briar report <== last run against the simulator
$ briar report venus <== last run against venus
# remove all *-cal targets from the simulator (without resetting the device)
$ briar rm sim-targets
# resolve APP_BUNDLE_PATH auto-detection problems by removing spurious DerivedData directories
$ briar rm dups
$ briar rm dups briar-ios-example
# change the simulator version
$ briar sim ipad_r
$ briar sim iphone_4in
look at the Briar/Rakefile
for details about how to use rake to submit tests to Xamarin Test Cloud.
issue_* ==> calabash github issue
issues ==> all calabash github issues
fb_* ==> internal fogbugz
trello_* ==> xamarin trello
@briar ==> testing briar gem features
@core ==> calabash core
$ rake tag_report
@backdoor
@bars
@briar
@buttons
@core
@date_picker
@email
@fb_168
@first_view
@flickering
@ipad_only
@issue_116
@issue_128
@issue_131
@issue_151
@issue_156
@issue_189
@issue_194
@issues
@keyboard
@no_launch
@rotation
@segmented_control
@sliders
@tabbar
@text_field