Is there any best practice/guidelines available for using Code Contracts, Pex and 'Fake' framework?
-
27-06-2021 - |
Question
Is there any best practice/guidelines available for using Code Contracts, Pex and Fake framework? Not able to find something concrete available with all 3 combined.
Solution
PEX site provides a bunch of documentation for using PEX and Code Contracts.
Your entry point probably will be Getting Started With Microsoft Code Contracts and Pex .
They also have good Moles documentation Microsoft Moles Reference Manual
Martin Angler has a great introductory article on Code Contracts & Pex: Assertions and Assumptions
There are also good workshops on this topic:
OTHER TIPS
The Visual Studio ALM Rangers are working on guidance for Microsoft Fakes. I'd be very interested in hearing from users who have adopted it, been scared off, success stories, tips, failures.... etc. drop me a mail at fakes@freetodev.com
I'll post a link here to our guidance as soon as we start shipping.
Mike