Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[PhpUnitBridge] include expected deprecations in assertion counter#21828
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
nicolas-grekas commentedMar 2, 2017
Thank you@xabbuh. |
…tion counter (xabbuh)This PR was merged into the 3.3-dev branch.Discussion----------[PhpUnitBridge] include expected deprecations in assertion counter| Q | A| ------------- | ---| Branch? | master| Bug fix? | no| New feature? | yes| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets |#21786 (comment)| License | MIT| Doc PR |We still need to include the changes from#21786 as we cannot increment the number of assertions in the `startTest()` method (the PHPUnit test runner resets the counter after the listeners have been executed).Commits-------cdcd5ae include expected deprecations in assertion counter
stof commentedMar 6, 2017
I think the issue is that |
stof commentedMar 6, 2017
My conclusion is that PHPUnit simply does not expect listeners to be a place performing assertions |
We still need to include the changes from#21786 as we cannot increment the number of assertions in the
startTest()method (the PHPUnit test runner resets the counter after the listeners have been executed).