EnsureSuccessStatusCode as an assertion

added by DotNetKicks
9/28/2020 4:52:12 PM

326 Views

It finally dawned on me that EnsureSuccessStatusCode is a fine test assertion. Okay, I admit that sometimes I can be too literal and rigid in my thinking. At least as far back as 2012 I've been doing outside-in TDD against self-hosted HTTP APIs.


0 comments