Hi All,
How can we prepare fake data for cloud api data in kentico 12 MVC development in UnitTest method? Currently we are using real data from cloud for unit test. Please advise.
Hi,
Would this work for you: github.com/.../Faking-responses
... First, you need to fake the HttpMessageHandler class. The method of doing so is well described at StackOverflow. We recommend using RichardSzalay.MockHttp NuGet package...
Please, sign in to be able to submit a new answer.