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] run PHPUnit in the same process#21112

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

Conversation

@xabbuh
Copy link
Member

QA
Branch?master
Bug fix?no
New feature?yes
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#21083
LicenseMIT
Doc PR

@xabbuh
Copy link
MemberAuthor

@julienfalque Can you check if this change solves the issue you described in#21083 (comment) too?

@nicolas-grekas
Copy link
Member

This currently breaks the handling of the exit code (see var $exit). Otherwise I think that's a good way to go. Maybe see if we can do something with OK/KO in a shutdown function ? Or deal with it in .travis.yml file as it was done before.

@xabbuhxabbuhforce-pushed thephpunit-bridge-no-sub-process branch from9c678fe to02ef903CompareDecember 31, 2016 13:16
@xabbuh
Copy link
MemberAuthor

Unfortunately, we cannot detect the exit code inside a shutdown function. So we will need to update our Travis CI config after this has been merged.

}
include"$PHPUNIT_DIR/phpunit-$PHPUNIT_VERSION/phpunit";

if (!file_exists($component =array_pop($argv))) {

Choose a reason for hiding this comment

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

Can be removed

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

oops, good catch

@xabbuhxabbuhforce-pushed thephpunit-bridge-no-sub-process branch from02ef903 to1986278CompareDecember 31, 2016 13:42
@xabbuhxabbuh added this to the3.x milestoneDec 31, 2016
@julienfalque
Copy link
Contributor

@xabbuh I confirm this solves my issue too :)

xabbuh reacted with hooray emoji

@xabbuh
Copy link
MemberAuthor

@julienfalque Thanks! Happy new year to you! 🎉

@julienfalque
Copy link
Contributor

Happy new year :) 🎉

@nicolas-grekas
Copy link
Member

👍

@fabpot
Copy link
Member

Thank you@xabbuh.

@fabpotfabpot merged commit1986278 intosymfony:masterJan 2, 2017
fabpot added a commit that referenced this pull requestJan 2, 2017
This PR was merged into the 3.3-dev branch.Discussion----------[PhpUnitBridge] run PHPUnit in the same process| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | yes| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#21083| License       | MIT| Doc PR        |Commits-------1986278 [PhpUnitBridge] run PHPUnit in the same process
@xabbuhxabbuh deleted the phpunit-bridge-no-sub-process branchJanuary 2, 2017 20:12
@nicolas-grekasnicolas-grekas modified the milestone:3.xMar 24, 2017
@fabpotfabpot mentioned this pull requestMay 1, 2017
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas left review comments

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@xabbuh@nicolas-grekas@julienfalque@fabpot@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp