More DI: Unit Testing Async Methods

added by DotNetKicks
1/11/2019 1:47:40 PM

1 Kicks, 456 Views

I'm a big believer in unit tests. I've seen how unit tests make me a faster developer (check out my unit testing materials for more information). There are a few quirks when we're testing asynchronous methods. Last time, we looked at a decorator class that adds retry functionality ( More DI: Adding Retry with the Decorator Pattern).