Skip to content

Instantly share code, notes, and snippets.

@samundra
Created November 26, 2015 18:44
Show Gist options
  • Save samundra/716a434268b6d73f44b8 to your computer and use it in GitHub Desktop.
Save samundra/716a434268b6d73f44b8 to your computer and use it in GitHub Desktop.
Create phpunit executable in windows
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