在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:calabash/calabash-ios开源软件地址:https://github.com/calabash/calabash-ios开源编程语言:Ruby 87.7%开源软件介绍:
Calabash iOS
Calabash is an automated testing technology for Android and iOS native and hybrid applications. Calabash is a free-to-use open source project that is looking for a maintainer. Requirements
For the best Ruby experience we recommend that you use a managed Ruby like rbenv or rvm). Please do not install gems with For more information about ruby on MacOS, see these Wiki pages: IMPORTANTCalabash uses private APIs to inspect your app's view hierarchy. Apps that include the Calabash iOS Server will be rejected if they are submitted to the AppStore. The tutorials below describe a number ways to add Calabash to your Xcode project that will ensure you do not accidently submit a binary that will be reject because it includes Calabash. Getting StartedIf you want to see Calabash iOS in action, head over to the Calabash iOS Smoke Test App and follow the instructions in the README. We use this app to document, demonstrate, and test Calabash iOS. You can use this app to explore Calabash and as an example for how to configure your Xcode project and Calabash workflow. The examples below assume you are using a managed ruby or are working in the Calabash Sandbox:
Step 1: Link calabash.frameworkTo start using Calabash in your project, you need to link an Objective-C framework (calabash.framework) to your application. These instructions are compatible with apps that are written in Swift.
If you want to get started quickly, follow the Debug Config instructions. The Tutorial: How to add Calabash to Xcode wiki page discusses the merits of each approach and has instructions for using CocoaPods. Step 2: Run Cucumber against an iOS SimulatorThe Calabash iOS Example README has simple instructions for how to link the calabash.framwork, generate a features directory, run cucumber, and and open a Calabash console.
Build and run in Xcode, targeting an iOS Simulator. Calabash will try to detect the .app you just built.
If Calabash cannot find the .app you just built, it will raise an error. If this happens, you will to tell Calabash where it can find your .app. By default, Xcode builds to a DerivedData directory:
Try to locate the .app and set the
We recommend using scripts and/or changing the location where Xcode stages build products. The sample projects use scripts to stage binaries to a Where to go from here?
Links
License
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论