Mock web server


So, it turned out that my Hspec tests fail when I run them on an aeroplane with no network connection. How to fix the tests to isolate them from unreliable external web services?

Well, I wrote a mock server using warp: 6f220e7. Done.

Tags: Haskell

All content © 2018 Richard Cook. All rights reserved.