› Home › Presentation › Extensions › PHPUnit
PHPUnit
As soon as you wish to strengthen the quality of your projects, one of the solutions is the implementation of unit tests, and PHPUnit is one of the most important and complete solution currently available.
This solution presents itself in the form of PHP scripts to run from the command line or with a third party tool. Our extension allows you to:
- Run all your tests from PHPEdit and quickly see the results (Valid, Invalid, Error) with usual colors (Green, Red);
- Quickly generate the skeleton of your unit tests and accelerate their implementation by allowing you to concentrate on the code to test instead of PHPUnit's pre-requisites;
- Quickly navigate between your code and the corresponding methods;
- Know the proportion of code in your project covered by unit tests.
Presentation
During your developments, assistants allow you to easily navigate between your code and the associated unit tests:

And to generate new tests, either from the code, or from the Code Browser:



The coverage statistics are visible in the project explorer and in the code browser:


How to get it?
This extension can be ordered individually for 30€ a piece, or with one of the following packs:
- PHPEdit Premium
- PHPEdit Premium for eZ publish
- PHPEdit Premium for Prado
- PHPEdit Premium for Symfony
- PHPEdit Complete
This extension is not available as "Personnal" or "Education" licenses, you can however purchase a license for this extension, and use it in conjunction with your personal license.



