Test doubles are offered by multiple test frameworks, for me are nearly the same. I am working with .net, and found that all dummies, stubs, spies or mocks are offered by properly configured same object. There are multiple tools in .net world for usage in that purpose.
Personally I love to use Moq, it has nice syntax, very fluent. Also there are NSubstitute or Rhino. All of them are very similar, but I find best experience with Moq.
Furthermore, recently I created a TDD's walkthrough in .net. There are some exercises for creating and using test doubles :) If anyone try it, please leave me a note, how do you find it?
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi, great post.
Test doubles are offered by multiple test frameworks, for me are nearly the same. I am working with .net, and found that all
dummies, stubs, spies or mocks
are offered by properly configured same object. There are multiple tools in .net world for usage in that purpose.Personally I love to use Moq, it has nice syntax, very fluent. Also there are NSubstitute or Rhino. All of them are very similar, but I find best experience with Moq.
Furthermore, recently I created a TDD's walkthrough in .net. There are some exercises for creating and using test doubles :) If anyone try it, please leave me a note, how do you find it?