In the last topic we’ve learned about Dynamic Testing. And In this topic we will learn about Unit Testing. In this lecture we will see what is Unit Testing? Examples of Unit Testing. And where and how Unit Testing is used. In this testing we will test functionality of individual modules. We will test the functions and check its output. Our main aim is to check the functioning of individual modules or if any issues come, we will fix them at that time. Defects, whichever are present can be detected in the early stages. The build quality will also improve. Now you will think what is build? What is this new term?. Whichever version is coming for testing, we will call that build. Whatever testers are getting from a particular product that is called build. Now we will see its examples. Any function, method, loop or statement, does it work perfectly working in the program or not?. That is executed by the developer. Unit Testing will be done by the developer, keep that in mind. In Unit Testing individual functions or procedures are created and tested. Now, which are the Unit Testing techniques? Black Box, White Box and Grey Box. This also we will see in detail. N ow we will see how and where Unit Testing is used. Where there is the reusability of code, there we will test it more. So that going ahead the code also is reused. There also we can reuse the code. Let’s take an example of the Admin module. Every website and application has an Admin module. If we properly test the admin module. Then we can reuse that same admin module in any project and in any website after some very small customizations and changes. We learned about Unit Testing, we saw the examples and we even saw the techniques used in Unit Testing. Now next we will study Incremental Integration Testing.
Share a personalized message with your friends.