|
|
|
|
|
by mooreds
2772 days ago
|
|
Love the idea of this. In my experience it's far easier to introduce testing by focusing on unit testing complicated, stateless business logic. The setup is less complex, the feedback cycle is quick, and the value is apparent ("oh gosh, now I understand all these edge cases and can change this complicated code with more confidence"). I think it also leads to better code at the class/module/function level. In my experience once a test (of any kind) saves a developer from a regression, they become far more amenable to writing more tests. That said I think starting with integration tests might be a good area of growth for me. |
|
i.e. Test business logic edge-cases, don't test a linked-list implementation... that's just locking your design in.