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
Find Swift 2-compatible HTTP request mocking library #46
Comments
We could use |
Well whet it comes to mocking I've recently read this cool article. But yes I agree that we need some solution to test this. |
ahhhh; thanks @cojoj, |
Well, I've heard a lot of good about |
I like the approach mentioned in the article. Let me take a 👀. |
It's written in You can see it in action on Ash Furrow's The |
Ok, DVR isn't on Cocoapods, let me try with Carthage (this is my first time, be patient). |
I guess, that's the point when we have to get back to #5. There's no other way for us to handle mocking/stubbing without third-party, right? |
@czechboy0 as long as its on a public Github and has a shared scheme its going to be available in |
@cojoj This is exactly an example of where I much prefer to use a third party solution, instead of rolling my own. The recording approach is very simple and pretty much exactly how I was planning to do it manually anyway. |
@esttorhe Cool, reading the docs of Carthage atm. |
Carthage-related question: should I put the whole |
TBH I've seen people checking in everything. That depends on how you want to link. Some people use Or you could depend on |
Personally I just commit everything and depending on the project I use workspaces with the source code rather than the .frameworks |
Ok, I did something in between: ad1e5e2. I went for the full manual approach, using Carthage to just pull the repo into its folder, but not build it. Then, I added the project as a subproject to XcodeServerSDK and added the appropriate dependencies for building and linking. But, since the code is not ours, I added the Let me know if this is a reasonable approach or not. |
When it comes to this issue, thanks guys, I think I'll try DVR for now. I'll reopen if it doesn't work well. |
👌 sounds good |
Ok, now we can actually start using it :) |
Bravo 👏 Hope that DVR will work for us! |
Puls, nice job with advertising |
I'd like to add proper tests for requests/responses, so we need a library that helps us with that. I tried Mockingjay, unfortunately it doesn't yet have Swift 2 support. This is pretty urgent.
(cc: @cojoj and @esttorhe)
The text was updated successfully, but these errors were encountered: