TDD vs Testing as an Afterthought
TDD - Test Driven Development.
It is an excellent approach but very few organizations manage to implement it. It requires a lot of discipline both by the development team and by the management.
Testing as an afterthought
This is what happens in most of the organizations. Even in start-ups. They want to develop the product as fast as possible and they cut corners where possible.
After a while you reach the point where
- There is an existing product (service).
- It mostly works (otherwise noone would care).
- It is written in a way that is hard to test.