1 / 1

What are the disadvantages of unit testing

There is no doubt that unit testing is considered to be productive and rewarding. But, on the flip side, it comes with a few disadvantages too. This does not mean ignoring unit testing, but, rather being more strategic and aware of the outcomes of unit testing, thus saving time and cost. <br>

Download Presentation

What are the disadvantages of unit testing

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. What are the disadvantages of unit testing? WHAT IS UNIT TESTING? There is no doubt that unit testing is considered to be productive and rewarding. But, on the flip side, it comes with a few disadvantages too. This does not mean ignoring unit testing, but, rather being more strategic and aware of the outcomes of unit testing, thus saving time and cost. The objective is to provide knowledge and let the developers and testers know as to how unit testing can prove to be less effective in certain scenarios or may not be able to provide justifiable testing outcomes. In this article, you will get to know as to what are the disadvantages of unit testing. FOLLOWING ARE THE DISADVANTAGES OF UNIT TESTING: 1. It is a time-consuming process: Even if one small unit test needs to be developed, it takes quite a bit of time and when it comes to larger ones, the time taken is obvious. 2. The issue with GUI code: When GUI code is being developed, the key thing is to test the code and make sure that it is working as expected. When it comes to unit testing, GUI code is not in line when it comes to the testing part. 3. Quite complex to work upon legacy code: When it comes to performing unit testing on the legacy code, it becomes quite vague because there is no specific beginning and there is no practicality of tests. 4. The maintenance factor: Unit testing Services can prove to be laborious and time-consuming. One of the misconceptions is that labor and time are only required, when the unit test is initially created. 5. All errors cannot be detected: Though unit testing conducted to test the individual units of a code and to a great extent many of the errors are identified, but, not all.

More Related