3 ms·
Context matters. If you are a startup without customers/users then writing tests is a bad idea - you need to focus everything on getting working code and users
by wewewedxfgdf 2y ago
Context matters.
If you are a startup without customers/users then writing tests is a bad idea - you need to focus everything on getting working code and users. You may be throwing your code away because you still don't even know what your users really want.
On the other hand if you are writing a banking system then sure, testing is not negotiable.
"Should we be writing tests?" cannot be answered without also knowing what the software is, what the company does and the context in which the software is being written.
- simonw 2y agoBuilt well, tests can accelerate your pace of development even before you have launched to real users. You don't need 100% coverage, but having tests that help spot dumb mistakes you've made (like a 500 on your homepage) are cheap to implement and pay for themselves very quickly.
- t-writescode 2y agoIf you’re a startup handling customer data, how can you skip out on tests? How can you be confident that your code doesn’t expose customer data in an exciting way and in a that demolishes trust in your product without testing to make sure and adding continuous tests to make sure a mistake like that doesn’t make it live?