Skip to content

scottcc/XCTest-OHHTTPStubSuiteCleanUp

 
 

Repository files navigation

XCTest+OHHTTPStubSuiteCleanUp

Version Platform Build Status

Usage

OHHTTPStubs does not automatically stop stubbing http requests at the end of tests. XCTest+OHHTTPStubSuiteCleanUp will tell OHHHTTPStubs to stop stubbing requests after each XCTest test method is run to avoid stubs from one test leaking into another test. There is no need to #import anything, XCTest+OHHTTPStubSuiteCleanUp cleans up stubs whenever XCTest's own tearDown method is called (after each test method).

Requirements

OHHTTPStubs

Installation

XCTest+OHHTTPStubSuiteCleanUp is available through CocoaPods, to install it simply add the following line to your Podfile:

pod "XCTest+OHHTTPStubSuiteCleanUp"

Author

Laura Brown, laura@artsy.net

License

XCTest+OHHTTPStubSuiteCleanUp is available under the MIT license. See the LICENSE file for more info.

About

Removes all OHHTTP stubs between test suites.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Objective-C 83.3%
  • Ruby 9.1%
  • Shell 5.7%
  • C 1.9%