Timeline for How do I inject test objects when the real objects are created dynamically?
Current License: CC BY-SA 2.5
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 31, 2011 at 20:51 | comment | added | JW01 | That's been my general approach, but in this case there are several subclasses of Validator, and there's a lot of setup involved in the test. If I make a test subclass, then I have to also make a test subclass for every real subclass of Validator. So I'll end up duplicating a lot of my setup work. But maybe that's necessary in this case. | |
Jan 31, 2011 at 20:40 | history | edited | Péter Török | CC BY-SA 2.5 |
added 148 characters in body; deleted 8 characters in body
|
Jan 31, 2011 at 20:26 | history | edited | Péter Török | CC BY-SA 2.5 |
added 232 characters in body
|
Jan 31, 2011 at 20:21 | history | answered | Péter Török | CC BY-SA 2.5 |