All Projects â†’ Subito-it â†’ Sbtuitesttunnel

Subito-it / Sbtuitesttunnel

Licence: other
Enable network mocks and more in UI Tests

Projects that are alternatives of or similar to Sbtuitesttunnel

Netfox
A lightweight, one line setup, iOS / OSX network debugging library! đŸĻŠ
Stars: ✭ 3,188 (+1382.79%)
Mutual labels:  xcode, network-monitoring, cocoapods
Emcee
Emcee is a tool that runs iOS tests in parallel using multiple simulators across many Macs
Stars: ✭ 148 (-31.16%)
Mutual labels:  xcode, testing-tools, xctest
Dtphotoviewercontroller
A fully customizable photo viewer ViewController to display single photo or collection of photos, inspired by Facebook photo viewer.
Stars: ✭ 212 (-1.4%)
Mutual labels:  xcode, cocoapods
Donut
Donut is a library for arranging views circularly like a donut.
Stars: ✭ 141 (-34.42%)
Mutual labels:  xcode, cocoapods
Swiftcolorgen
A tool that generate code for Swift projects, designed to improve the maintainability of UIColors
Stars: ✭ 152 (-29.3%)
Mutual labels:  xcode, cocoapods
Cloudkitgdpr
Framework for allowing users to manage data stored in iCloud
Stars: ✭ 126 (-41.4%)
Mutual labels:  xcode, cocoapods
Testdrive
Quickly try out any Swift pod or framework in a playground
Stars: ✭ 1,612 (+649.77%)
Mutual labels:  xcode, cocoapods
Nearbyweather
NearbyWeather is an open source weather app for iOS, which uses the OpenWeatherMap API. With this project developers are invited to learn advanced iOS concepts, as well as to contribute further advancements. Fork this repo to get started.
Stars: ✭ 146 (-32.09%)
Mutual labels:  xcode, cocoapods
Microfeatures Example
đŸ“Ļ📱 Example of iOS app built using the uFeatures architecture
Stars: ✭ 112 (-47.91%)
Mutual labels:  xcode, cocoapods
Shsearchbar
The search bar that doesn't suck.
Stars: ✭ 206 (-4.19%)
Mutual labels:  xcode, cocoapods
Cdmarkdownkit
An extensive Swift framework providing simple and customizable markdown parsing.
Stars: ✭ 158 (-26.51%)
Mutual labels:  xcode, cocoapods
Tiercel
įŽ€å•æ˜“į”¨ã€åŠŸčƒŊ丰富įš„įē¯ Swift 下čŊŊæĄ†æžļ
Stars: ✭ 2,241 (+942.33%)
Mutual labels:  xcode, cocoapods
Luexpandabletableview
A subclass of UITableView with expandable and collapsible sections
Stars: ✭ 125 (-41.86%)
Mutual labels:  xcode, cocoapods
Croc
Swift emoji string parsing library
Stars: ✭ 124 (-42.33%)
Mutual labels:  xcode, cocoapods
Natrium
A pre-build (Swift) script to alter your Xcode project at pre-build-time per environment, build configuration and target.
Stars: ✭ 131 (-39.07%)
Mutual labels:  xcode, cocoapods
Sqift
Powerful Swift wrapper for SQLite
Stars: ✭ 119 (-44.65%)
Mutual labels:  xcode, cocoapods
Countrypicker
A simple, customizable Country picker for picking country or dialing code. 🇮đŸ‡ŗ đŸ‡¯đŸ‡ĩ 🇰🇷 🇩đŸ‡Ē 🇨đŸ‡ŗ đŸ‡ē🇸 đŸ‡Ģ🇷 đŸ‡Ē🇸 🇮🇹 🇷đŸ‡ē đŸ‡Ŧ🇧
Stars: ✭ 174 (-19.07%)
Mutual labels:  xcode, cocoapods
Device
Light weight tool for detecting the current device and screen size written in swift.
Stars: ✭ 1,503 (+599.07%)
Mutual labels:  xcode, cocoapods
Shari
Shari is the alternative to the library of UIPickerView(drum roll) in Swift. You can select a item using UITableView.
Stars: ✭ 111 (-48.37%)
Mutual labels:  xcode, cocoapods
Accordionswift
The best way of implement an accordion menu using an UITableView in Swift
Stars: ✭ 156 (-27.44%)
Mutual labels:  xcode, cocoapods

SBTUITestTunnel

Version License Platform

Overview

Apple introduced a new UI Testing feature starting from Xcode 7 that is, quoting Will Turner on stage at the WWDC, a huge expansion of the testing technology in the developer tools. The framework is easy to use and the integration with the IDE is great however there is a major problem with the way tests are launched. Testing code runs as a separate process which prevents to directly share data with the app under test making it hard to do things like dynamically inject data or stub network calls.

SBTUITestTunnel extends UI testing functionality allowing to dynamically:

  • stub network calls
  • download/upload files from/to the app's sandbox
  • monitor network calls
  • rewrite network calls
  • block cookies
  • interact with NSUserDefaults
  • define custom blocks of codes executed in the application target
  • fine grain fast-scrolling in table/collection/scroll views
  • CLLocationManager stubbing
  • UNUserNotificationCenter stubbing

The library supports concurrent parallel testing, so multiple Simulators can be used at once.

The library consists of two separated components which communicate with each other, one to be instantiate in the application's target and the other in the testing target.

Should I use this?

SBTUITestTunnel is intended to extend Apple's XCTest framework, not to replace it. It all boils down to a single subclass of XCUIApplication which comes with the additional features listed above, so it is very easy to integrate with your existing testing code.

Documentation

  • Installation: Describes how to install the library
  • Setup: Describes how to integrate the library in your code
  • Usage: Describes how to use the library

Additional resources?

We made additional resources available to improve the UI Testing experience:

  • Mendoza: parallelize UI tests over multiple physical machines
  • Cachi: parse Xcode's 11 .xcresult bundles
  • SBTUITestTunnelHost: access the mac host from your test target

Thanks

Kudos to the developers of the following pods which we use in SBTUITestTunnel:

Contributions

Contributions are welcome! If you have a bug to report, feel free to help out by opening a new issue or sending a pull request.

Authors

Tomas Camin (@tomascamin)

License

SBTUITestTunnel is available under the Apache License, Version 2.0. See the LICENSE file for more info.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].