Timeline for (Why) is it important that a unit test not test dependencies?
Current License: CC BY-SA 2.5
2 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 6, 2011 at 13:05 | comment | added | dsimcha | Method: Yes, but you have to add extra code and extra classes to do this. Code should be as concise as possible while still being readable. IMHO adding factories and whatnot is overengineering unless you can prove that you need or are very likely to need the flexibility it provides. | |
| Apr 6, 2011 at 7:45 | history | answered | Oliver Weiler | CC BY-SA 2.5 |