I was having this problem, and it was very painful. Currently I switched to linux, thats why I am unable to test the solution. But it should work fine.
- Remove all ruby gems and ruby completely.
- Download and install ruby old version like 1.9 rubyInstaller site 1: http://rubyinstaller.org/downloads/
- Download dev tools from that site too. Check this answer before setup, setup like this answer
- You will need to install for displaying messages/notifications Growl Notifications for windows
- gem install guard-phpunit (it will automatically install its dependent guard version)
- gem install ruby_gntp
- run 'guard' command form your web app directory via cmd, and growl notification software in windows background
- to run all test press enter, first time when you will run test from guard you will get allCompletlyImplemented() error on ResultPrinter.php file, in cmd you will get the file location. Replace all occurrences of allCompletlyImplemented() to allCompletelyImplemented() in that file
--Notes:
to exit from guard simply press e and enter.
My guard file, borrowed from my mentor Jeffry Way's guard tool
Hope it works. Finger crossed.