Through my career in software, I've come across a broad range of attitudes and opinions towards testing code. The two extremes being that 'tests aren't worth writing because something is too complicated', or that 'every single piece of code being che...

Markdown supported · ⌘↵ to post
Dinys Monvoisin
Software developer, JavaScript Euthusiasts, Inspiring Blogger
In the apparent section, I believe that those books, tutorials are there for learning purpose, and that's why they use a simple example to explain every use cases. Also, those unit test can serve as documentation.
What about the question of the cost of writing unit test? Is it much more of a problem in businesses?
I found that the article lack of space.