Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's an integration test really. The clients all have an abstraction around the http endpoints so nothing touches integration in unit tests. The advantage of this is you deal with transfer objects only in the code, no HTTP which would violate separation of concerns.

I use HttpMock myself in test cases which fires up an http server for personal projects. We use Wiremock commercially.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: