Testing

Nimble

2641

A matcher framework for Swift inspired by Cedar.

SwiftMonkey

1116

A framework for doing randomised UI testing of iOS apps.

Mockingjay

972

An elegant library for stubbing HTTP requests with ease.

SwiftCheck

898

A testing library that automatically generates random data for testing program properties.

Sleipnir

857

BDD-style framework highly inspired by Cedar.

Fakery

831

Fake data generator.

Kakapo

736

Dynamic mocking library. It allows you to replicate your backend APIs and logic.

Enjoy iOS Cookies?

Consider making a small donation to help me keep the site running!   

Cuckoo

690

First boilerplate-free mocking framework.

LayoutTest-iOS

502

This library enables you to write unit tests which test the layout of a view in multiple configurations.

Snap.swift

383

Snapshot testing in a snap 🎨.

PlaygroundTDD

312

Small library to easily run your tests directly within a Playground.

SwiftyMocky

291

Framework for mock generation.

Spectre

289

BDD Framework and test runner for Swift projects and playgrounds.

Erik

280

A headless browser based on WebKit. An headless browser allow to run functional tests, to access and manipulate webpages using javascript.

Cribble

274

Tool for visual testing iPhone and iPad apps. Every pixel counts.

yoshi

254

A convenient wrapper around the UI code that is often needed for displaying debug menus.

Vinyl

207

A simple, yet flexible library used for replaying HTTP requests while unit testing.

MockFive

199

A Mocking Framework for Swift Unit Tests.

Volkswagen-Xcode

105

Detects when your Xcode tests are being run in a CI server, and makes them pass.

ABKit

102

AB testing framework for iOS.

SwiftPowerAssert

93

Provides descriptive assertion messages through standard assert interface.

CatchingFire

81

Test Library for Swift's Error Handling.

Swatch

53

Watcher for Unit Tests.

iPhone User Performance Tests

44

A utility for doing simple tests of an iOS device's user-facing performance, and some collected results.

MetovaTestKit

18

A collection of testing utilities to turn crashing test suites into failing test suites.

FireMock

16

Mock HTTP requests. Test your apps with fake data and files responses.

parallel_ios_tests

0

Run iOS tests on multiple simulators in parallel at the same time.