| Article: |
Agile User Interface Development | |
| Subject: | smart object/thin view model | |
| Date: | 2004-11-19 04:35:32 | |
| From: | AndyP | |
|
Response to: smart object/thin view model
|
||
| How do you test that you view code contains no business logic? Surely TDD says you can't trust any code you aren't testing? | ||
Showing messages 1 through 1 of 1.




And no, TDD doesn't say "you can't trust any code your aren't testing". Actually it explicitely says to not test code that "cannot possibly break", i.e. simple getters or setters.
Last but not least, TDD is a tool, not a dogma.