Whenever you write a new line of code, you also potentially add new bugs. To build better and more reliable applications, you should test your code using both functional and unit tests. The PHPUnit Testing Framework Symfony integrates with an independent library called PHPUnit to give you a rich testing framework. This article won't cover PHPUnit itself, which has its own excellent documentation.
![Testing (Symfony Docs)](https://cdn-ak-scissors.b.st-hatena.com/image/square/b007104dc5bb21837ce4e44ef1bc12ae2175bac1/height=288;version=1;width=512/https%3A%2F%2Fsymfony.com%2Fimages%2Fopengraph%2Fsymfony.png)