SaaSHub helps you find the best software and product alternatives Learn more →
Top 9 Swift unit-testing Projects
-
SwifterSwift
A handy collection of more than 500 native Swift extensions to boost your productivity.
-
Project mention: What design patterns exist and which should I learn for SwiftUI? | /r/SwiftUI | 2023-04-27
Unfortunately there is no Apple made built-in way to unit-test SwiftUI views but we are using ViewInspector package for that and inject data / model through environmentObject or AppStorage or FetchRequest or whatever mechanism the view is using. Once you embrace ViewInspector, injecting data into the view is not a big deal.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
-
Swift testing this simple Hello World with XCTest and Cuckoo
-
Take a look at https://github.com/apple/swift-testing It is under active development as Swift first replacement for xctest. For CI service, Xcode cloud does support running tests on mac and iOS hardware. https://developer.apple.com/xcode-cloud/
-
-
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
NetworkUnitTestDemo
Demonstrates how to create unit tests of network code by plugging into Foundation's URL Loading System
-
ios-todo-app-with-unit-testing
Sample code for the articles written on Ultimate guide to iOS unit testing. https://blog.canopas.com/the-ultimate-guide-to-ios-unit-testing-with-best-practices-part-1-c3a484b8dc8d
Swift unit-testing related posts
- What design patterns exist and which should I learn for SwiftUI?
- SwiftUI unit tests FTW
- The Ultimate Guide to iOS unit testing with best practices — Part 1
- The Ultimate guide to iOS unit testing with best practices — Part 2
- I want random generated names, and I need your advice
- How to Unit Test Network Code by Mocking Foundation URL Loading System
-
A note from our sponsor - SaaSHub
www.saashub.com | 17 Apr 2024
Index
What are some of the best open-source unit-testing projects in Swift? This list will help you:
Project | Stars | |
---|---|---|
1 | SwifterSwift | 13,614 |
2 | ViewInspector | 2,033 |
3 | Fakery | 1,777 |
4 | Cuckoo | 1,636 |
5 | swift-testing | 1,045 |
6 | Guise | 58 |
7 | Guava | 10 |
8 | NetworkUnitTestDemo | 2 |
9 | ios-todo-app-with-unit-testing | 0 |