Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

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 ajoutée par Utilisateur supprimé
Date de publication: 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
par 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

Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?