OHHTTPStubs is a library designed to stub your network requests very easily. It can help you test your apps with fake network data (stubbed from file) and simulate slow networks, to check your application behavior in bad network conditions, and write unit tests that use fake network data from your fixtures. OHHTTPStubs headers are fully documented using Appledoc-like / Headerdoc-like comments in the header files. Instead of writing the content of the stubs you want to use manually, you can use tools like SWHttpTrafficRecorder to record network requests into files. This way you can later use those files as stub responses. OHHTTPStubs is split into subspecs so that when using Cocoapods, you can get only what you need, no more, no less. OHHTTPStubs supports Swift 2.2 (Xcode 7), Swift 2.3 (Xcode 8), Swift 3.0 (Xcode 8+) and Swift 3.1 (Xcode 8.3+).