Operating System: Windows 8.1 (64 bit)
Terminal: Git Bash
Purpose: Show colors in PHPUnit command results
Process followed:
- Downloaded https://github.com/downloads/adoxa/ansicon/ansi160.zip
- Extracted the file into C:\ansicon
- Added C:\ansicon\x64 in "Path" user variables.
- Opened Git Bash as administrator
- Moved into C:\ansicon\x64 and executed
ansicon -i
without any errors. - Restarted Git Bash and moved into My test project.
- Executed phpunit --colors TestFile.php
Problem: The result is showing but without any colors.
Question: What have I done wrong? How to solve it?