Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pods to default podspec for network stubbing #143

Merged
merged 2 commits into from
Apr 29, 2014
Merged

Conversation

gfontenot
Copy link
Member

  • OHHTTPStubs is a fantastic library for quickly and easily stubbing
    network requests
  • XCTest+OHHTTPStubSuiteCleanUp ensures that all stubs are reset after
    each test. This ensures that tests aren't dependent on interacting
    with each other. Just including this pod enables this feature. There
    is no need to import the pod anywhere.

@hyperspacemark
Copy link
Contributor

👍

@gfontenot
Copy link
Member Author

Any thoughts from the rest of @thoughtbot/ios?

@tonyd256
Copy link
Contributor

👍

@gfontenot
Copy link
Member Author

I actually ran into a nasty race condition related to stubs being removed before getting called when clearing them after each test, so until I've got a better solution for that, I'm going to remove the XCTest+OHHTTPStubSuiteCleanUp pod from the defaults.

- OHHTTPStubs is a fantastic library for quickly and easily stubbing
  network requests
- XCTest+OHHTTPStubSuiteCleanUp ensures that all stubs are reset after
  each test. This ensures that tests aren't dependent on interacting
  with each other. Just including this pod enables this feature. There
  is no need to import the pod anywhere.
@gfontenot gfontenot merged commit b77fb7d into master Apr 29, 2014
@gfontenot gfontenot deleted the gf-testing-pods branch April 29, 2014 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants