AnsweredAssumed Answered

Unit testing with ArcGIS Runtime

Question asked by jsiemens on Apr 9, 2018
Latest reply on Apr 13, 2018 by jsiemens

I'm trying to write some unit tests on classes that use the ArcGIS Runtime. I don't want to hit live services. Instead, I want to provide fake responses.

 

Is there any way to provide an instance of HttpClient or HttpMessageHandler to the ArcGIS Runtime so that I can send fake responses back?

Outcomes