Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 492 Bytes

README.md

File metadata and controls

5 lines (3 loc) · 492 Bytes

How to test HttpClient inside API Tests

I am a great fan of API tests. I do like to utilize the WebApplicationFactory for this. I even wrote some articles about this in the past "Introduction to WebApplicationFactory". But what if we need to "mock" HttpClient calls inside our tests?

Found here