You can use unit testing to verify the code. This was first explained to me from Dive Into Python: Unit Testing and will be much fairer to the topic than I could here. Now that you know about terminological unit testing, you should not be far from other existing explanations that will make sense to you, whether one that does not.
You can also find test development .
Your code is not magically verified for you, as you might think. The code to verify your application will be written by you. Which packages, such as PHPUnit, offer you a framework in which you can implement your tests. These packages will provide many amenities for defining your tests, working together as a set and creating a report. These are only automatic aspects.
source share