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 show warnings in PHPUnit?
- How to skip a PHPUnit test?
- How to increase memory limit in PHPUnit?
- How to assert that key exists in an array using PHPUnit?
- How to run only certain methods in PHPUnit?
- How to mock a static method with PHPUnit?
- How to run all PHPUnit tests?
- How to order tests with PHPUnit?
- How to check if a JSON contains a value in PHPUnit?
- How to use JSON in PHPUnit?
See more codes...