3 ms·
I don’t think it’s very likely that a developer will ever implement automated testing.
by gorenb 3y ago
I don’t think it’s very likely that a developer will ever implement automated testing.
- sethammons 3y agoI'm a developer and I require automated testing even on my personal projects. Every change I make, I _know_ it will not fundamentally break for my users. I never manually run through to check things before release, tests cover it. (Yes bugs happen; that is different than releasing code that can't talk to the database because you can't be bothered to check that the app works at all) If you are not pushing for automated tests from the start on a project that will be released to users, I think you have some professional maturing to do. It can be small and simple but it must exist.
- john-tells-all 3y agoSeconded. Recently while refactoring I realized I was breaking nearly everything. Most code didn't have tests -- I'm working on an experiment. So, I coded 3-4 tests of the "run the main program and if it doesn't crash then it passes" style. These tests are silly, but they catch lots of refactoring bugs! And it only took 30 seconds to write the test. If later I decide the actual _values_ matter, I can add another test, but this "break glass" test is already giving me benefits. I can refactor bravely and see how much stuff goes up in flames. Very useful!