Skip to content

Conversation

@rajgit31
Copy link
Contributor

@rajgit31 rajgit31 commented May 6, 2013

a. GetStub - This is to improve the readability of Unit Tests as
developers often use mocks for stub etc. The new method would provide
the same mocked instance but it can be used as a stub to setup data with
the test. More info
http://martinfowler.com/articles/mocksArentStubs.html

b. Add addition API comments to make the method more meaningful/extra
description.

rajgit31 added 4 commits May 6, 2013 22:35
a. GetStub<T> - This is to improve the readability of Unit Tests as
developers often use mocks for stub etc. The new method would provide
the same mocked instance but it can be used as a stub to setup data with
the test. More info
http://martinfowler.com/articles/mocksArentStubs.html

b. Add addition API comments to make the method more meaningful/extra
description.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant