Great mocking framework David Tchepak and Anthony Egerton .
I like the readability of the code and the nice fluent API.
Mocking FW needs to be good at 2 things:
- Setup of the mock object
- Verification of expectations
#1
Substitute.For reads very nice!
.Returns( something ) reads VERY nice!
#2
DidNotReceive() and Receive() are awesome to read!
Gone the .Object from moq
—————————
Richard Banks has a nice comparison of mocking frameworks on his blog
Get it now from nuget and make sure to read the source code!
-
agiletapir likes this
-
gfader posted this