Files
php-the-right-way/_posts/11-04-01-Complementary-Testing-Tools.md
Ketan Savaliya f00a5317f8 Update 11-04-01-Complementary-Testing-Tools.md
fixed site address issue
2025-05-14 18:26:14 +05:30

1.5 KiB

isChild, anchor
isChild anchor
true complementary_testing_tools

Complementary Testing Tools

Besides individual testing and behavior driven frameworks, there are also a number of generic frameworks and helper libraries useful for any preferred approach taken.

  • Selenium is a browser automation tool which can be integrated with PHPUnit
  • Mockery is a Mock Object Framework which can be integrated with PHPUnit or PHPSpec
  • Prophecy is a highly opinionated yet very powerful and flexible PHP object mocking framework. It's integrated with PHPSpec and can be used with PHPUnit.
  • php-mock is a library to help to mock PHP native functions.
  • Infection is a PHP implementation of Mutation Testing to help to measure the effectiveness of your tests.
  • PHPUnit Polyfills is a library that allows for creating PHPUnit cross-version compatible tests when a test suite needs to run against a range of PHPUnit versions.