Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[PhpUnitBridge] Add weak-verbose mode and match against message instead of test name#16789

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

Merged
stof merged 1 commit intosymfony:2.8fromnicolas-grekas:fix-phpunit-bridge
Dec 5, 2015

Conversation

@nicolas-grekas
Copy link
Member

QA
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#14475
LicenseMIT
Doc PR-

This is double a DX bug fix:

  • the weak-verbose allows showing messages but exit with 0 (see[PhpunitBridge] Add a mode to show messages but exit with 0 #14475)
  • matching against $class::$method was a mistake of mine: you can already--filter in phpunit to get by-test filtering but you can't select which message should be traced without this change. I stumbled upon this limitation while doing a Symfony 3 migration workshop...

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

typo: depreaction's -> deprecation's

@nicolas-grekas
Copy link
MemberAuthor

typos fixed, thanks

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I don't understand why this preg_match is there. Is it an undocumented feature of the helper ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

ah no, it is documented

@craue
Copy link
Contributor

👍

1 similar comment
@stof
Copy link
Member

stof commentedDec 5, 2015

👍

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

we should add those strings as constants esp. since $mode is part of the public api

Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

consts added

@fabpot
Copy link
Member

👍

@stof
Copy link
Member

stof commentedDec 5, 2015

Thank you@nicolas-grekas.

@stofstof merged commita670ff1 intosymfony:2.8Dec 5, 2015
stof added a commit that referenced this pull requestDec 5, 2015
…t message instead of test name (nicolas-grekas)This PR was merged into the 2.8 branch.Discussion----------[PhpUnitBridge] Add weak-verbose mode and match against message instead of test name| Q             | A| ------------- | ---| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#14475| License       | MIT| Doc PR        | -This is double a DX bug fix:- the weak-verbose allows showing messages but exit with 0 (see#14475)- matching against $class::$method was a mistake of mine: you can already `--filter` in phpunit to get by-test filtering but you can't select which message should be traced without this change. I stumbled upon this limitation while doing a Symfony 3 migration workshop...Commits-------a670ff1 [PhpUnitBridge] Add weak-verbose mode and match against message instead of test name
@nicolas-grekasnicolas-grekas deleted the fix-phpunit-bridge branchDecember 7, 2015 09:04
nicolas-grekas added a commit that referenced this pull requestDec 11, 2015
…s upper bound" mode (nicolas-grekas)This PR was merged into the 2.8 branch.Discussion----------[PhpUnitBridge] Replace "weak-verbose" by "deprecations upper bound" mode| Q             | A| ------------- | ---| Bug fix?      | yes| New feature?  | yes| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#16789,#14475| License       | MIT| Doc PR        | -This is a "new feature" that replaces a "new feature" not yet released but merged into 2.8.1. See#16789.It is way more flexible to be able to specify the upper bound of remaining deprecation notices that you allow in your test suite. This allows lowering this number while deprecations are removed, step after step.ping@wouterj@Tobion@craue@fabpot@stofCommits-------58cd3ee [PhpUnitBridge] Replace "weak-verbose" by "deprecations upper bound" mode
This was referencedDec 26, 2015
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

7 participants

@nicolas-grekas@craue@stof@fabpot@dosten@Tobion@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp