|
|
|
|
|
by eru
3181 days ago
|
|
> But aren't unit tests a duplication of your code, already?
> UPDATE:
> Maybe I should have stated my last question differently. I meant that in the context of checking that the data is correct, it would be the same as writing the duplicate code from scratch. Good units tests, especially for UI entry are difficult to envision. Have a look at https://news.ycombinator.com/item?id=15432567 where I tried to sketch a general way to address this class of problems. |
|