Good ways to test a unit that communicates via HTTP

Posted by Evan DiBiase on Stack Overflow See other posts from Stack Overflow or by Evan DiBiase
Published on 2008-09-16T01:37:18Z Indexed on 2010/04/18 5:53 UTC
Read the original article Hit count: 385

Often, I find myself wanting to write a unit test for a portion of code that accesses HTTP resources as part of its normal function. Have you found any good ways to write these kinds of tests?

© Stack Overflow or respective owner

Related posts about language-agnostic

Related posts about unit-testing