Laravel-Testing-Decoded
Laravel-Testing-Decoded copied to clipboard
Error in Chapter 3: Configure PHPUnit
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