+ 2

Importance of unit testing

So I have been wondering about the work that consume more time between writing unit test for an application, and fixing bug of an application which has been made without unit test. Is that a must to write test for any application or could we spot application where test need to exist?

21st Jan 2018, 12:22 AM
Cedrick Memel
Cedrick Memel - avatar
1 Answer
+ 2
I guess it depends on how complex the application is, the individual pieces of functionality and how bad it would be if stuff started going wrong. For a small personal project I might not bother but a large application with complex logic for a paying client I'd want to make sure everything worked as intended. If anything changes your unit tests should be able to ensure the basic functionality they were looking for.
21st Jan 2018, 9:04 AM
Dan Walker
Dan Walker - avatar