As I mentioned in an email, I needed to test some Calabash features on a Swift application. This is the fruit of that labor.
@michaelkirk From the cukes it looks like you wanted to have Calabash (or some other UI test framework).
Notes
I can't standup the server so I always see an alert when the app is launched. So that is what I looked for in the "Given the game has started step." e9c3012
I committed a @wip tag so this PR could be demo'd
I opted to not use a separate -cal target. Instead, the calabash.framework is linked into the BikeTag target in the Debug configuration. I thought about doing something fancy like this but I have no Swift fu.
I added a Makefile (!) and some bash scripts to build apps for testing.
Cucumber
$ git pull
$ git co -t origin/feature/add-calabash-ios
$ bundle
$ be make app
$ be cucumber -t @wip
Console
$ bundle
$ be calabash-ios console
> make_app # Compile a new .app and install it on the target simulator!
> start_test_server_in_background
> query("view marked:'Retry'")
Motivation
As I mentioned in an email, I needed to test some Calabash features on a Swift application. This is the fruit of that labor.
@michaelkirk From the cukes it looks like you wanted to have Calabash (or some other UI test framework).
Notes
Cucumber
Console
Make