Timeline for Should we design our code from the beginning to enable unit testing?
Current License: CC BY-SA 4.0
        2 events
    
    | when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 31, 2019 at 14:31 | comment | added | Lee | Point taken about the assertions regarding interfaces, but even if we didn't use them we'd still have to inject objects some how, this is the concern from the rest of the team. i.e. some on the team would be happy with a parameterless ctr instantiating the concrete implementation and leaving it at that. In fact one member floated the idea of using reflection to inject mocks so we don't have to design code to accept them. Which is a reeky code smell imo | |
| Jan 30, 2019 at 21:26 | history | answered | Daniel Pryden | CC BY-SA 4.0 |