Isolator feature focus: Recursive Fakes

My blog has moved. You can view this post at the following address: http://www.osherove.com/blog/2008/10/4/isolator-feature-focus-recursive-fakes.html
Published Saturday, October 04, 2008 6:17 PM by RoyOsherove

Comments

Saturday, October 04, 2008 6:51 PM by Ayende Rahien

# re: Isolator feature focus: Recursive Fakes

Roy,

I like this!

Sunday, October 05, 2008 8:14 AM by Dew Drop - October 5, 2008 | Alvin Ashcraft's Morning Dew

# Dew Drop - October 5, 2008 | Alvin Ashcraft's Morning Dew

Pingback from  Dew Drop - October 5, 2008 | Alvin Ashcraft's Morning Dew

Sunday, October 05, 2008 11:56 PM by Daniel Cazzulino

# re: Isolator feature focus: Recursive Fakes

This has been in Moq's trunk for a couple weeks now (code.google.com/.../detail)

It's indeed a cool feature :)

Monday, October 06, 2008 4:51 PM by Scott Bellware

# re: Isolator feature focus: Recursive Fakes

And on the downside, this will contribute to the obscuration of Law of Demeter violations, leading to potentially lots of transient coupling and "stolen" dependencies (dependency hub in the extreme is an anti-pattern).

I've wanted this kind of thing before in the past, but I've found that the absence of direct support for train-wreck syntax and broken encapsulation in mocking frameworks was a good thing.  This kind of thing is often a tell that there's a better design waiting to be realized.

Nonetheless, nice feature when cheating is fine and reasonable.

Saturday, October 11, 2008 5:42 PM by jdn

# re: Isolator feature focus: Recursive Fakes

"Nonetheless, nice feature when cheating is fine and reasonable."

Which is often and should in fact be encouraged whenever possible.

# Type Mock embraces SharePoint | Agile Sharepoint development by 21apps and MOSS 2007 MVP Andrew Woodward

Pingback from  Type Mock embraces SharePoint | Agile Sharepoint development by 21apps and MOSS 2007 MVP Andrew Woodward