Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more! Learn more →
Top 23 Swift Testing Projects
The Swift (and Objective-C) testing framework.Project mention: GitHub can't be trusted. Or, how suspending Russian accounts deleted project history and pull requests | reddit.com/r/coding | 2022-04-20
Take this example mentioned in the blog post. It was merged into Quick:main from younata:fix_parallel_tests - until the PR was merged, the code resided in the user younata's profile. That's the point of PRs, right? It can't be merged into Quick unless it passes review and is merged. Therefore, when the (allegedly) Russian user's profile was removed it removed all of the commits on their profile - including anything un-merged. Anything already merged, and thus merged to the Quick project repository, has not been changed.
A Matcher Framework for Swift and Objective-C
Appwrite - The Open Source Firebase alternative introduces iOS support. Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!
📸 Delightful Swift snapshot testing.Project mention: SwiftUI has so many awesome features!! And none of them seem to play well with unit tests :( Am I missing something? | reddit.com/r/SwiftUI | 2022-04-05
How do I test this with UI Testing?
:alien: Swift fake data generatorProject mention: I want random generated names, and I need your advice | reddit.com/r/swift | 2022-02-27
I know that https://github.com/kleiram/Faker and https://github.com/vadymmarkov/Fakery, maybe other libraries exist. I use similar libraries in Python for data science and analytics testing. They are available from Cocoapods.
Boilerplate-free mocking framework for Swift! (by Brightify)Project mention: Swift Mocking Tools. To Use, or Not to Use, That Is the Question | reddit.com/r/u_Evolvice | 2022-09-08
Additional setup: The cuckoo installation process requires adding a new run script into your test target build phases. Include the absolute path to each file and the framework that will generate mocks in this script. Import the generated file into the project once, and then re-generate it to keep it up to date. Class name starts from the word ‘Mock’ — each test double you can use as mock, stub, or spy.
Runtime introspection and unit testing of SwiftUI views (by nalexn)Project mention: Top swift libraries and why? | reddit.com/r/swift | 2022-06-10
ViewInspector is a great library for testing SwiftUI views, without the heavy lifting of XCUI tests. You can quickly test view state changes, assert view colors or fonts etc. Almost any property can be tested, so that you know a view behaves as it should.
Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
An elegant library for stubbing HTTP requests with ease in Swift
Random data generation in Swift
QuickCheck for Swift
Font management (System & Custom) for iOS and tvOS
View your app on different device and font sizes
The XCTest Project, A Swift core library for providing unit test support
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.Project mention: iOS unit test mocking using SwiftyMocky | dev.to | 2022-11-27
Mock Alamofire and URLSession requests without touching your code implementationProject mention: Looking for sources to learn advanced unit testing. | reddit.com/r/iOSProgramming | 2022-06-23
For mocking data you can use something like Mocker (https://github.com/WeTransfer/Mocker) which I’ve found to be pretty easy to get started with.
BDD-style framework for Swift
Automatic testing of your Pull Requests on GitHub and BitBucket using Xcode Server. Keep your team productive and safe. Get up and running in minutes. @buildasaur
🐤Dynamically Mock server behaviors and responses in Swift
Network testing for Swift
The Big List of Naughty Strings is a list of strings which have a high probability of causing issues when used as user-input data. This is a keyboard to help you test your app from your iOS device.
A Swifty mocking framework for Swift and Objective-C. (by birdrides)
Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.
Swift Testing related posts
Any good resources for learning Unit testing?
1 project | reddit.com/r/iOSProgramming | 4 Jan 2023
iOS unit test mocking using SwiftyMocky
1 project | dev.to | 27 Nov 2022
Writing unit tests with mocked dependencies in Swift
2 projects | dev.to | 9 Nov 2022
Swift Mocking Tools. To Use, or Not to Use, That Is the Question
4 projects | reddit.com/r/u_Evolvice | 8 Sep 2022
Any good resources for unit testing and UI tests?
1 project | reddit.com/r/swift | 5 Sep 2022
URL tracking protection in Safari
2 projects | reddit.com/r/privacy | 23 Aug 2022
Looking for sources to learn advanced unit testing.
2 projects | reddit.com/r/iOSProgramming | 23 Jun 2022
A note from our sponsor - Appwrite
appwrite.io | 9 Feb 2023
What are some of the best open-source Testing projects in Swift? This list will help you:
|4||UI Testing Cheat Sheet||2,114|