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 mock a method with different arguments in PHPUnit?
- How to stop PHPUnit on failure?
- How to skip a PHPUnit test?
- How to show warnings in PHPUnit?
- How to generate a JUnit report in PHPUnit?
- How to run tests in parallel with PHPUnit?
- How to run PHPUnit in quiet mode?
- How to mock a static method with PHPUnit?
- How to order tests with PHPUnit?
- How to mock a class in PHPUnit?
See more codes...