Hacker News new | past | comments | ask | show | jobs | submit login

>- code can only be tested with an integration test

Some code only makes sense to test with integration tests. It's not more effective with a code base where somebody has decided to fatten up the SLOC with dependency inversion just so that they can write some unit tests which test that x = x.

>- code is tested by comparing the stdout with an earlier version (hopefully it’s deterministic!)

Making the code deterministic or adapting the tests to accommodate that it isn't should be next on the ladder, not hoping that it is.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: