AliSoftware / AliSoftware/OHHTTPStubs

Possible Upload workaround (based on OCMock)

オープン
#312 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
Waiting for input
主要言語
Objective-C
スター
5.1k
フォーク
597
PR マージ指標
30日以内にマージされた PR はありません

説明

I have been able to implement mock tests for my upload requests based on [this Stackoverflow answer](https://stackoverflow.com/a/20663781/5098984).

As a result, I have removed every `OHHttpStubs` dependency from my project, to not mix libraries. Maybe you could change your internal approach to stubbing the web requests and support upload tasks as well, based on `OCMock`?

If you do not want to depend on an external library, I think you could implement similar behaviour as `OCMock` with **Method Swizzling**.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。