For example, I have a type which implements IDictionary, and I need test coverage to ensure that it does it properly. I just wondered if there is a repository of standard, reusable tests for this kind of thing anywhere; if there isn't, I might create one.
I doubt there's a publicly available .net one, but the Mono project might be a good place to start?
Whether they're testing "the contract" of the interface, or the specific implementation, I'm not sure, but there's certainly tests for the Dictionary class:
https://github.com/mono/mono/blob/master/mcs/class/corlib/Test/System.Collections.Generic/DictionaryTest.cs
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With