Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> you still need to orchestrate and verify that state.

Only if you limit yourself to testing using unit tests. Two of the strongest testing tools care not one bit about internal state.

Combinatorial testing tests all possible combinations of input pairs, and looks for the system to fail.

Fuzz testing creates a fairly large volume of noise as input, and looks for the system to fail.

Integration testing should be in your toolbox right alongside unit testing, and will exercise objects which are not appropriate for unit tests.

> inheriting a lot of external dependencies that have little or nothing to do with your test.

I've found that this kind of thinking leads to development practices which rely on unit tests & production as their sole methods of testing. If a component is part of your production system, it should also be part of your test system.



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

Search: