testrunner with humcrest and doccomments
-
get and install hamcrest https://code.google.com/p/hamcrest/downloads/detail?name=hamcrest-php-1.1.0.zip
-
install guard $ gem install guard guard-shell
-
get humcrester get these 2 files in your project
- hamcrester.php
- Guardfile
- run testrunner $ guird -i
NOTE:
- if you want to change watched directries, change the setting in Gardfile, the default value is "/src/(.*).php/"
- if you want to change hamcrest lib path "PATH", change the setting in hamcrester.php. the default value is " DIR . '/vendor/Hamcrest-1.1.0'"