
Test doubles are objects that simulate being other objects... The name comes from the movies were the double replaces the real actor... I really dont like the name, i found it confusing, that is why i prefer to use simulation objects... Anyway, they include fake pbjects, mock objects, dummy objects and bla and bla and bla :-) in the end the only impotant thing is for them to be polimorphic with the object they are replacing implementing a specific behavior for the test they are being used On Saturday, May 28, 2011, stephane ducasse <stephane.ducasse@gmail.com> wrote:
what are test doubles?
OK guys we will have a really cool discussion at ESUG :)
-- *HernĂ¡n Wilkinson Agile Software Development, Teaching & Coaching Mobile: +54 - 911 - 4470 - 7207 email: hernan.wilkinson@10Pines.com site: http://www.10Pines.com <http://www.10pines.com/>*