JeffreyWay / Laravel-Testing-Decoded

This project is exclusively for reporting typos and errors in the book, "Laravel Testing Decoded."
34 stars 10 forks source link

Page 199 on 1st revision correction (epub version) #69

Closed jchaney01 closed 11 years ago

jchaney01 commented 11 years ago

Not sure if this was corrected in a later version but you mention to bootstrap Codeception into the app directory and then follow it with the manual and automatic approaches to create the first acceptance test but never specify that you must change into the app directory for this to work.

Order as it appears in the book:

1 codecept bootstrap app

2 manually make a file or run codecept generate:cept acceptance Welcome

If the user tries to do these as stated without CDing into app, they will get a codeception error:

[Codeception\Exception\Configuration]
Configuration file is invalid

Since the user is at the Laravel root when following along, I might suggest ensuring they are in the correct app directory when running that #2 command.

jchaney01 commented 11 years ago

This is stated fruther down so that corrects the condition.