DEV Community

Discussion on: My 4 Year Journey With Testing Software

Collapse
 
chenmike profile image
Mike Chen • Edited

Love this sentiment, I feel like it's too easy to forget that testing is all about increasing confidence in your code. Tests that don't do this are worse than no tests since they increase brittleness without providing value. It seems to me like tutorials on unit tests tend to mock/stub too readily, tutorials on integration tests are few and far between, integration tests are difficult to write and maintain, and integration testing tools (at least for JS) are generally still pretty fragmented and immature.

In short, I totally agree that it's very difficult especially for junior devs to learn how to test properly and to discover the value of testing – thanks for writing this post, looking forward to reading more of your thoughts on it!