Click here to Skip to main content
16,013,322 members
Articles / Programming Languages / C#

FakeHttp

Rate me:
Please Sign up or sign in to vote.
4.84/5 (17 votes)
25 Oct 2015CPOL13 min read 42.5K   31  
Faking http response messages to decouple client unit tests from service implementation
This library should come in handy for unit testing any code that uses the System.Net.Http.HttpClient component. It is designed to be minimally intrusive to existing code, making it relatively easy to fake http traffic without major changes to already written components or tests.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Team Leader Starkey Laboratories
United States United States
The first computer program I ever wrote was in BASIC on a TRS-80 Model I and it looked something like:
10 PRINT "Don is cool"
20 GOTO 10

It only went downhill from there.

Hey look, I've got a blog

Comments and Discussions