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

command "phpunit" can not running, “command not found” #5

Closed
FupingQiu opened this issue Jul 24, 2018 · 1 comment
Closed

command "phpunit" can not running, “command not found” #5

FupingQiu opened this issue Jul 24, 2018 · 1 comment

Comments

@FupingQiu
Copy link
Owner

In cmder, command "phpunit" can not running, “command not found”

@FupingQiu
Copy link
Owner Author

  1. composer require phpunit/phpunit -dev, to download phpunit.7.1.phar. or https://phpunit.de/ download phpunit.7.1.phar
  2. rename phpunit.7.1phar to phpunit.phar
  3. echo @php "%~dp0phpunit.phar" %* > phpunit.cmd
  4. open cmder, click "settings" , in "settings" interface, find "startup" ->"Environment",
    after "set PATH=%ConEmuBaseDir%\Scripts;%PATH%;", add phpunit root

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant