Quick
ToBeAutomated
Our great sponsors
Quick | ToBeAutomated | |
---|---|---|
3 | 1 | |
9,748 | 1 | |
0.1% | - | |
8.3 | 1.8 | |
about 23 hours ago | about 3 years ago | |
Swift | Swift | |
Apache License 2.0 | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Quick
-
Mobile e2e tests using WebdriverIO and Appium
These tests are responsible for validating that a single unit is working properly. You can think of a unit as a class or function. These tests are written in an isolated fashion. I mean, if the rest of the system is full of bugs and nothing else work, if this unit work, the test will pass. They are also repeatable. They don't depend on anything else, really. Anytime you run the test, if the code hasn't changed, the test will report the same result. These tests are intimately related to the code quality of your project. If your code is clean, these tests should be relatively easy to write. When writing unit tests in iOS, you usually use XCTest or Quick
ToBeAutomated
-
Mobile e2e tests using WebdriverIO and Appium
Well, enough theory for now. I've prepared a quick, small example so you can understand hands-on how all of this work. So, go and clone/download the code in this repo. This is the simplest app you could think of. It's a Counter app, that has a label in the center of the screen, a button to "add" and a button to "sub". As simple as that. A think that could draw your attention is this fragment:
What are some alternatives?
OHHTTPStubs - Stub your network requests easily! Test your apps with fake network data and custom response time, response code and headers!
Mockingbird - A Swifty mocking framework for Swift and Objective-C.
Nimble - A Matcher Framework for Swift and Objective-C
Kiwi - Simple BDD for iOS
SwiftyMocky - Framework for automatic mock generation. Adds a set of handy methods, simplifying testing. One of the best and most complete solutions, including generics support and much more.
Sleipnir - BDD-style framework for Swift
Cuckoo - Boilerplate-free mocking framework for Swift!
Mockingjay - An elegant library for stubbing HTTP requests with ease in Swift
swift-corelibs-xctest - The XCTest Project, A Swift core library for providing unit test support
SwiftCheck - QuickCheck for Swift
Specta - A light-weight TDD / BDD framework for Objective-C & Cocoa
Spectre - BDD Framework and test runner for Swift projects and playgrounds