phpunitWhat are PHPUnit required extensions
PHPUnit is a unit testing framework for the PHP programming language. It is an instance of the xUnit architecture for unit testing frameworks.
In order to use PHPUnit, certain extensions must be enabled in the php.ini
configuration file. These extensions are:
-
extension=php_xsl.dll
- This extension enables the XSLT processor, which is used by PHPUnit to generate reports. -
extension=php_mbstring.dll
- This extension enables the multibyte string functions, which are used by PHPUnit to process text. -
extension=php_curl.dll
- This extension enables the cURL library, which is used by PHPUnit to make HTTP requests. -
extension=php_soap.dll
- This extension enables the SOAP library, which is used by PHPUnit to make SOAP requests.
For more information, please refer to the PHPUnit documentation.
More of Phpunit
- How to stop PHPUnit on failure?
- How to skip a PHPUnit test?
- How to show warnings in PHPUnit?
- How to run tests in parallel with PHPUnit?
- How to test protected methods in PHPUnit?
- How to use the PHPUnit command line interface (CLI)?
- How to clear the PHPUnit cache?
- How to run all PHPUnit tests?
- How to mock a query builder with PHPUnit?
See more codes...