Timeline for Is dependency injection essential for unit testing?
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 22, 2012 at 18:40 | comment | added | Erik Dietrich | @Sign Your link also says, "The Fakes framework can be used to shim any .NET method, including non-virtual and static methods in sealed types.". The fact that the isolation frameworks can be used in conjunction with DI doesn't mean that they are DI. | |
| Mar 22, 2012 at 17:00 | comment | added | Sign | Moles was replaced by fakes, and from the fakes page "The Fakes framework helps developers create, maintain, and inject dummy implementations in their unit tests" Sounds like DI to me. | |
| Mar 22, 2012 at 16:07 | comment | added | Erik Dietrich | @WyattBarnett Yeah, very true. Moles has a wince-inducing ability to get someone to say "who needs all of this polymorphism and open/closed stuff, anyway?!?" | |
| Mar 22, 2012 at 15:55 | comment | added | Wyatt Barnett | Or Moles lets you think you've got clean, well factored testable code because you are testing through magic. | |
| Mar 22, 2012 at 15:38 | history | answered | Erik Dietrich | CC BY-SA 3.0 |