Jump to content

Talk:Test double: Difference between revisions

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
Line 3: Line 3:
==Merge "Mock object" to test double==
==Merge "Mock object" to test double==
Most of the article on [[mock object]]s (including the whole incipit) is really about [[test double]]s and not mocks. Much of the content in fact duplicates [[test double]], including the discussion of the terminology issues around the misuse of the word "mock" as a pseudonym for "test double". Note that there are specific arguments (cited both in the article(s) and in referenced resources) to ''not'' use the work "mock" as a pseudonym for "test double", when speaking formally (as should be the case here); see for example ''[https://martinfowler.com/articles/mocksArentStubs.html Mocks Aren't Stubs]'' by Uncle Bob Martin. Also note that while the terminology of test doubles has been uncertain for a few years, the consensus on the use of specific terms is rapidly growing. It is very unusual nowadays to find an online article using "mocks" in a different sense than suggested by Martin and others.
Most of the article on [[mock object]]s (including the whole incipit) is really about [[test double]]s and not mocks. Much of the content in fact duplicates [[test double]], including the discussion of the terminology issues around the misuse of the word "mock" as a pseudonym for "test double". Note that there are specific arguments (cited both in the article(s) and in referenced resources) to ''not'' use the work "mock" as a pseudonym for "test double", when speaking formally (as should be the case here); see for example ''[https://martinfowler.com/articles/mocksArentStubs.html Mocks Aren't Stubs]'' by Uncle Bob Martin. Also note that while the terminology of test doubles has been uncertain for a few years, the consensus on the use of specific terms is rapidly growing. It is very unusual nowadays to find an online article using "mocks" in a different sense than suggested by Martin and others.
My opinion is that the article [[mock object]] is overall quite better than [[test double]], so the merge should probably take most of its content from there and replace content here. The article [[mock object]] may remain as a redirect or be a shorter article on the specifics of ''mocks'' proper.
My opinion is that the article [[mock object]] is overall quite better than [[test double]], so the merge should probably take most of its content from there and replace content here. The article [[mock object]] may remain as a redirect (which would acknowledge the fact that there is some some residual uncertainty in terminology) or be a shorter article on the specifics of ''mocks'' proper.
[[User:Moongateclimber|Moongateclimber]] ([[User talk:Moongateclimber|talk]]) 20:15, 22 April 2017 (UTC)
[[User:Moongateclimber|Moongateclimber]] ([[User talk:Moongateclimber|talk]]) 20:15, 22 April 2017 (UTC)

Revision as of 20:24, 22 April 2017

I'm not sure of the policies for removing templates such as "lead too short." I left it in place, but I hope my changes will allow it to be removed.

Merge "Mock object" to test double

Most of the article on mock objects (including the whole incipit) is really about test doubles and not mocks. Much of the content in fact duplicates test double, including the discussion of the terminology issues around the misuse of the word "mock" as a pseudonym for "test double". Note that there are specific arguments (cited both in the article(s) and in referenced resources) to not use the work "mock" as a pseudonym for "test double", when speaking formally (as should be the case here); see for example Mocks Aren't Stubs by Uncle Bob Martin. Also note that while the terminology of test doubles has been uncertain for a few years, the consensus on the use of specific terms is rapidly growing. It is very unusual nowadays to find an online article using "mocks" in a different sense than suggested by Martin and others. My opinion is that the article mock object is overall quite better than test double, so the merge should probably take most of its content from there and replace content here. The article mock object may remain as a redirect (which would acknowledge the fact that there is some some residual uncertainty in terminology) or be a shorter article on the specifics of mocks proper. Moongateclimber (talk) 20:15, 22 April 2017 (UTC)[reply]