Created
November 8, 2012 09:54
-
-
Save isidromerayo/4037869 to your computer and use it in GitHub Desktop.
guard phpunit symfon2 to src/Hcuv
This file contains hidden or 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
guard 'phpunit', :cli => '-c app/ ', :tests_path => 'src', | |
:keep_failed => true, :all_after_pass => true do | |
watch(%r{^src/Hcuv/(.+)Tests/.+Test\.php$}) { |m| "#{m[0]}" } | |
watch(%r{^src/Hcuv/(.+)/(.*)/(.+)\.php$}) { |m| "src/Hcuv/#{m[1]}/Tests/#{m[2]}/#{m[3]}Test.php" } | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment