Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

Why most unit tests are waste of time?

Tests can't test all the fuctionality implemented in the software, why TDD is still on.

user-image
Question added by Deleted user
Date Posted: 2014/08/13

In my experience, unit tests are most valuable when you use them for algorithmic logic. They are not particularly useful for code that is more coordinating in its nature. 

 

E.G: An example of algorithmic logic is a pool of temporary numbers in a mobile phone system. The telephone numbers in the pool are used for routing calls in the network. Typically a request is made to get a temporary number, it is used for a few hundred milliseconds, and is then released again. While it is used, it is marked as busy in the pool, and when it is released, it is marked as free in the pool (and can then be handed out for another call). 

unit testing is an manual test which can took more time as comparied with test automation using selenium  webdriver

Farrukh Masood
by Farrukh Masood , Senior Quality Control Engineer , Waseel ASP Co Ltd.

Writing the huge number of unit test for the sake of to test every thing might be the waste of time, but writing the unit test which give you more ROI in term of feed back ,time is a worth to write. 

Unit test is performed by Developer not by Tester

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.