Laravel-Testing-Decoded icon indicating copy to clipboard operation
Laravel-Testing-Decoded copied to clipboard

Error in Chapter 3: Configure PHPUnit

Open toddmcbrearty opened this issue 11 years ago • 0 comments

Under the watching files section you should to configure guard as so

guard 'phpunit', :cli => '--colors', :tests_path => 'tests' do
  watch(%r{^.+Test\.php$})

  watch(%r{app/(.+)/(.+).php}) {
    |m| "tests/#{m[1]}/#{m[2]}Test.php"
  }
end

The portion

 :tests_path => 'tests' do

Throws an error test.php not found. not sure what the fix is. i'll continue to look

toddmcbrearty avatar Dec 15 '13 17:12 toddmcbrearty