You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2018. It is now read-only.
Since the big overhaul in PHPUnit 6.0, the part in the documentation about PHPUnit_Extensions_TestDecorator seems misleading:
You can wrap test cases or test suites in a subclass of PHPUnit_Extensions_TestDecorator and use the Decorator design pattern to perform some actions before and after the test runs.
Neither PHPUnit_Extensions_TestDecorator nor any iteration of TestDecorator seem to exist anymore in PHPUnit and I cannot find them anywhere in a separate repository (e.g. Extensions seems to be gone). I'll submit a PR myself if I could get some info on what happened to this code -- did it just killed in favor of using Test Listeners instead of Decorators?
I have a project written for PHPUnit 5.6 which uses PHPUnit_Extensions_TestDecorator and have to figure out how to migrate it to PHPUnit 6.0.
The text was updated successfully, but these errors were encountered:
Simply replace 6.5 with the version number you are looking for. Simply replace en with fr, pt_br, ja, or zh_cn to access the French, Brazilian Portuguese, Japanese, or Simplified Chinese translation, respectively.
Starting with the documentation for PHPUnit 7.0, the PHPUnit documentation is hosted at https://phpunit.readthedocs.io/.
I am sorry that I have to close this issue here as GitHub does not support moving issues from one project to another. Please open a new ticket for this issue in one of the new issue trackers (see above).
Since the big overhaul in PHPUnit 6.0, the part in the documentation about PHPUnit_Extensions_TestDecorator seems misleading:
Neither
PHPUnit_Extensions_TestDecorator
nor any iteration ofTestDecorator
seem to exist anymore in PHPUnit and I cannot find them anywhere in a separate repository (e.g. Extensions seems to be gone). I'll submit a PR myself if I could get some info on what happened to this code -- did it just killed in favor of using Test Listeners instead of Decorators?I have a project written for PHPUnit 5.6 which uses PHPUnit_Extensions_TestDecorator and have to figure out how to migrate it to PHPUnit 6.0.
The text was updated successfully, but these errors were encountered: