Skip to content

Commit 6cafd92

Browse files
committed
Testing Tools: add PHPUnit Polyfills
The [PHPUnit Polyfills](https://github.com/Yoast/PHPUnit-Polyfills) were created to allow devs to write tests for the latest version of PHPUnit, while still allowing those tests to run on older PHPUnit versions. Full disclosure: I'm the author of the library. Note: this library is the [endorsed](https://phpunit.de/supported-versions.html) by the author of PHPUnit as the way to support PHPUnit cross-version compatible tests.
1 parent b39a710 commit 6cafd92

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

_posts/11-04-01-Complementary-Testing-Tools.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ libraries useful for any preferred approach taken.
1616
[PHPSpec] and can be used with [PHPUnit].
1717
* [php-mock] is a library to help to mock PHP native functions.
1818
* [Infection] is a PHP implementation of [Mutation Testing] to help to measure the effectiveness of your tests.
19+
* [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.
1920

2021

2122
[Selenium]: https://www.seleniumhq.org/
@@ -27,3 +28,4 @@ libraries useful for any preferred approach taken.
2728
[php-mock]: https://github.com/php-mock/php-mock
2829
[Infection]: https://github.com/infection/infection
2930
[Mutation Testing]: https://en.wikipedia.org/wiki/Mutation_testing
31+
[PHPUnit Polyfills]: https://github.com/Yoast/PHPUnit-Polyfills

0 commit comments

Comments
 (0)