iOS testing libraries
Unit, UI and snapshot testing libraries for iOS apps, ranked by GitHub stars
更新于 · GitHub stars (stars)
为什么是这20个
Ranked by GitHub stars: how many developers bookmarked the project. Stars measure attention, not quality, so each row also shows forks, licence and the last push. Tools without a public repository have no star count and can't be ranked here.
-
1
Quick
A behavior-driven development framework for Swift and Objective-C.
9,820 stars 895 forkslast push 2026-05-18SwiftApache-2.0
-
2
Kif
An iOS Functional Testing Framework.
6,247 stars 917 forkslast push 2026-10-20Objective-CNOASSERTION
-
3
EarlGrey
tea: iOS UI Automation Test Framework.
5,700 stars 735 forkslast push 2026-11-20Objective-CApache-2.0
-
4
OHHTTPStubs
Stub your network requests easily! Test your apps with fake network data and custom response time, response code and headers!
5,062 stars 598 forkslast push 2024-05-09Objective-CMIT
-
5
Nimble
A Matcher Framework for Swift and Objective-C
4,834 stars 611 forkslast push 2026-05-04SwiftApache-2.0
-
6
SnapshotTesting
Delightful Swift snapshot testing.
4,397 stars 689 forkslast push 2026-10-21SwiftMIT
-
7
Kiwi
A behavior-driven development library for iOS development.
4,098 stars 498 forkslast push 2023-09-05Objective-CBSD-3-Clause
-
8
ViewInspector
Runtime inspection and unit testing of SwiftUI views
2,643 stars 196 forkslast push 2026-10-15SwiftMIT
-
9
Specta
A light-weight TDD / BDD framework for Objective-C & Cocoa.
2,307 stars 218 forkslast push 2022-02-27Objective-CMIT
-
10
iOS Snapshot Test Case
Snapshot test your UIViews and CALayers on iOS and tvOS.
1,866 stars 229 forkslast push 2025-12-02Objective-CMIT
-
11
-
12
Cuckoo
First boilerplate-free mocking framework for Swift.
1,743 stars 201 forkslast push 2026-09-05SwiftMIT
-
13
Mockingjay
An elegant library for stubbing HTTP requests with ease in Swift.
1,483 stars 173 forkslast push 2023-10-13SwiftBSD-3-Clause
-
14
-
15
-
16
-
17
Buildasaur
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.
769 stars 66 forkslast push 2017-05-22SwiftMIT
-
18
Kakapo
Dynamically Mock server behaviors and responses in Swift.
758 stars 44 forkslast push 2018-10-25SwiftMIT
-
19
ETTrace
Locally measure performance of your app, without Xcode or Instruments.
656 stars 28 forkslast push 2025-09-23CMIT
-
20
Marathon Runner
Fast, platform-independent test runner focused on performance and stability execute tests.
646 stars 127 forkslast push 2026-09-21KotlinGPL-2.0
参考资料
- vsouza/awesome-ios: Testing, GitHub community list (list text MIT; star counts from the GitHub API). Checked 2026-11-21 10:48 UTC.
- vsouza/awesome-ios (Testing), GitHub community list, 37 tools with a public repository.