Skip to content

[Bridge/PhpUnit] Add bin/simple-phpunit wrapper (=phpunit - yaml - prophecy) #19915

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 12, 2016

Conversation

nicolas-grekas
Copy link
Member

@nicolas-grekas nicolas-grekas commented Sep 12, 2016

Q A
Branch? master
New feature? yes
Tests pass? not yet
License MIT
Doc PR symfony/symfony-docs#6962

So that e.g. Sami & SensioFranmeworkExtraBundle can stop copy/pasting our phpunit wrapper and get it from phpunit-bridge instead.

2 commits to keep the "rename" semantic in the git history.
Diff best viewed by looking directly at each commit.

@@ -34,7 +34,7 @@ matrix:

cache:
directories:
- .phpunit
- vendor/symfony/phpunit-bridge/bin/.phpunit
Copy link
Member

Choose a reason for hiding this comment

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

Isn't it an "issue" that we write in the vendor directory? I'm pretty sure that we never write under vendor anywhere else.

Copy link
Member Author

Choose a reason for hiding this comment

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

updated: this is still the default because I don't see any better one, but one can overwrite it with the SYMFONY_PHPUNIT_DIR env var now.

@nicolas-grekas nicolas-grekas force-pushed the phpunit-bin branch 2 times, most recently from 17e81a1 to 966a55d Compare September 12, 2016 15:11
@fabpot
Copy link
Member

fabpot commented Sep 12, 2016

I think we need to add some docs to the README about its usage and the env vars that one can define.

@nicolas-grekas
Copy link
Member Author

Doc PR added, tests green.
Status: needs review

@nicolas-grekas
Copy link
Member Author

Needs #19917 to be green (and reciprocally)

@fabpot
Copy link
Member

fabpot commented Sep 12, 2016

Thank you @nicolas-grekas.

@fabpot fabpot merged commit 0c1c70c into symfony:master Sep 12, 2016
fabpot added a commit that referenced this pull request Sep 12, 2016
…nit - yaml - prophecy) (nicolas-grekas)

This PR was merged into the 3.2-dev branch.

Discussion
----------

[Bridge/PhpUnit] Add bin/simple-phpunit wrapper (=phpunit - yaml - prophecy)

| Q             | A
| ------------- | ---
| Branch?       | master
| New feature?  | yes
| Tests pass?   | not yet
| License       | MIT
| Doc PR | symfony/symfony-docs#6962

So that e.g. [Sami](https://github.com/FriendsOfPHP/Sami/blob/master/phpunit) & [SensioFranmeworkExtraBundle](https://github.com/sensiolabs/SensioFrameworkExtraBundle/blob/master/phpunit) can stop copy/pasting our phpunit wrapper and get it from phpunit-bridge instead.

2 commits to keep the "rename" semantic in the git history.
Diff best viewed by looking directly at each commit.

Commits
-------

0c1c70c [Bridge/PhpUnit] Add bin/simple-phpunit wrapper (=phpunit - yaml - prophecy)
@nicolas-grekas nicolas-grekas deleted the phpunit-bin branch September 12, 2016 19:07
weaverryan added a commit to symfony/symfony-docs that referenced this pull request Sep 15, 2016
…, weaverryan)

This PR was merged into the master branch.

Discussion
----------

[Bridge/PhpUnit] doc bin/simple-phpunit

See symfony/symfony#19915

Commits
-------

c600921 Making changes thanks to Javier!
46825ab [Bridge/PhpUnit] doc bin/simple-phpunit
@fabpot fabpot mentioned this pull request Oct 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants