Testing is one of the very important and time-consuming phases in application development, and it needs to be carried out seriously. As a developer, we have to keep in mind that along with developing the application, checking whether it is giving the desired results or not is our responsibility. You may think if we have testers, why do we need to test the application? Testing an application doesn't mean just checking how the final product works. It is actually a continuous process at each stage of development. And we, as developers, are a very important part of it. Testing can be carried out as unit testing, integration testing, system testing, and user-acceptance state, at different phases in application development.
We, as developers, start with testing the very basic structure of an application--a function. This is also called unit...