xUnit tips:THis seems very fragile, is there a better way to do this?Here I'm passing an HttpMessageHandler through the IHostedService but Asserting in there locks up the IDE on failure which *ain't good*.
-
xUnit tips:
THis seems very fragile, is there a better way to do this?
Here I'm passing an HttpMessageHandler through the IHostedService but Asserting in there locks up the IDE on failure which *ain't good*. -
Jenniferplusplusreplied to Scott Galloway last edited by
@scottgal I would normally expect a mock to record it's call details, and I would make assertions based on the recording after the fact. But I'm not familiar with that particular mock client.
Copyright © 2024 NodeBB | Contributors