Alamofire: How to unit test apps with Alamofire?

Created on 3 Feb 2015  ·  2Comments  ·  Source: Alamofire/Alamofire

Could you please explain how to mock Alamofire responses?

Most helpful comment

Such questions should be posted on stackoverflow (as the Readme suggests)

Here is basically the same question already up:
http://stackoverflow.com/questions/26918593/unit-testing-http-traffic-in-alamofire-app

@mattt 's last comment suggests the best solution imho.

All 2 comments

Such questions should be posted on stackoverflow (as the Readme suggests)

Here is basically the same question already up:
http://stackoverflow.com/questions/26918593/unit-testing-http-traffic-in-alamofire-app

@mattt 's last comment suggests the best solution imho.

Thanks, @tkrajacic.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

shivang2902 picture shivang2902  ·  3Comments

yamifr07 picture yamifr07  ·  3Comments

noear picture noear  ·  3Comments

hengchengfei picture hengchengfei  ·  3Comments

Tulleb picture Tulleb  ·  3Comments