Talk:Test double

From Wikipedia, the free encyclopedia
  (Redirected from Talk:Test Double)
Jump to: navigation, search
WikiProject Software / Computing   
WikiProject icon This article is within the scope of WikiProject Software, a collaborative effort to improve the coverage of software on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
 ???  This article has not yet received a rating on the project's quality scale.
 ???  This article has not yet received a rating on the project's importance scale.
Taskforce icon
This article is supported by WikiProject Computing.

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.

fix the problem and remote the template. CodeCurmudgeon (talk) 00:58, 18 November 2017 (UTC)

Merge "Mock object" to test double[edit]

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)

@Moongateclimber: +1 for moving some of the content relevant to test double here. +1 for shortening mock object artcile. I would keep the mock object page though as is defines category of a test double that is different to other categories (stubs, ...). "Mocks are what we are talking about here: objects pre-programmed with expectations which form a specification of the calls they are expected to receive."[1] Wojtek-tp (talk) 16:57, 7 December 2017 (UTC)