Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Inconsistency in how to run tests #16603

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

Closed
pbowyer opened this issue Mar 15, 2022 · 1 comment
Closed

Inconsistency in how to run tests #16603

pbowyer opened this issue Mar 15, 2022 · 1 comment
Labels
hasPR A Pull Request has already been submitted for this issue. Testing

Comments

@pbowyer
Copy link
Contributor

pbowyer commented Mar 15, 2022

The testing documentation consistently uses php ./vendor/bin/phpunit to invoke tests.

When I install symfony/test-pack it outputs:

$ composer require --dev symfony/test-pack
Using version ^1.0 for symfony/test-pack
./composer.json has been updated
[...]
 symfony/phpunit-bridge  instructions:

  * Write test cases in the tests/ folder
  * Use MakerBundle's make:test command as a shortcut!
  * Run the tests with php bin/phpunit

Run the tests with is inconsistent with the documented way. I make no judgement about which is right, but the two should match.

Happy to create a PR once I know which one to change.

@xabbuh xabbuh added Testing hasPR A Pull Request has already been submitted for this issue. labels Mar 18, 2022
@xabbuh
Copy link
Member

xabbuh commented Mar 18, 2022

Thanks for reporting. This will be fixed by #16626.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hasPR A Pull Request has already been submitted for this issue. Testing
Projects
None yet
Development

No branches or pull requests

2 participants