AliSoftware / AliSoftware/OHHTTPStubs
Possible Upload workaround (based on OCMock)
未關閉
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 還沒有評估資料。