Skip to content

Inconsistency in how to run tests #16603

@pbowyer

Description

@pbowyer

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    TestinghasPRA Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions