/calabash-ios-server

An embedded HTTP server for performing queries and gestures

Primary LanguageObjective-COtherNOASSERTION

master develop versioning license contributing
Build Status Build Status Version License Contributing

The Calabash iOS Server

http://calaba.sh

The companion of the calabash-ios gem: https://github.com/calabash/calabash-ios

Building the Framework

Requires Xcode 6 or Xcode 7.

Xcode 6.4 is actively tested. Older versions of Xcode 6 are not.

$ git clone --recursive git@github.com:calabash/calabash-ios-server.git
$ cd calabash-ios-server
$ make framework

Building the frank plugin

$ make frank

Building the dylibs

Requires Xcode 6 or greater.

make dylibs

NOTE

If you are a maintainer, you must install the codesign tool if you are planning on making a Calabash iOS gem release.

Building to embed in Calabash gem

See the calabash-ios/calabash-cucumber/Rakefile for more details.

$ cd path/to/calabash-ios/calabash-cucumber
$ be rake build\_server

Testing

# Objective-C Unit tests.
$ make xct

# Building libraries.
$ make all

# Integration tests.
$ scripts/test/run

If you are running the XCTests from Xcode, you might see failures in LPJSONUtilsTest. If you do, clean (Shift + Option + Command + K) and rerun.

Contributing

  • The Calabash iOS Toolchain uses git-flow.
  • Contributors should not bump the version.
  • See the CONTRIBUTING.md guide.
  • There is a style guide: STYLE_GUIDE.md.
  • Pull-requests with unit tests will be merged faster.

Releasing

See the CONTRIBUTING.md document for instructions.

Licenses

Calabash iOS Server uses several third-party sources. You can find the licenses for these sources in the third-party-licenses directory.