Created
November 26, 2015 18:44
-
-
Save samundra/716a434268b6d73f44b8 to your computer and use it in GitHub Desktop.
Create phpunit executable in windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Download phpunit.phar from phpunit.de | |
2. then configure "c:\bin\" in PATH environment variable. | |
3. Create new file "phpunit.bat" and paste the below code inside the file | |
```bash | |
@ECHO OFF | |
php "%~dp0phpunit.phar" %* | |
``` | |
4. Test the implementation using `phpunit --version`. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment