Skip to content
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

Add dev:tests:run parameter to pass arguments to phpunit #11054

Merged
merged 3 commits into from
Sep 27, 2017
Merged

Add dev:tests:run parameter to pass arguments to phpunit #11054

merged 3 commits into from
Sep 27, 2017

Conversation

schmengler
Copy link
Contributor

@schmengler schmengler commented Sep 26, 2017

Description

A new option has been added to the dev:tests:run command:

  -c, --arguments=ARGUMENTS  Additional arguments for PHPUnit. Example: "-c'--filter=MyTest'" (no spaces) [default: ""]

Fixed Issues (if relevant)

  1. PHPUnit tests do not accept testsuite as argument #9477: PHPUnit tests do not accept testsuite as argument

Manual testing scenarios

  1. Run bin/magento dev:tests:run unit -c'--filter=DevTestsRunCommand
  2. Only the test for this PR should be executed

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds on Travis CI are green)

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.

6 participants