04.
Behat
Keep on Learning!
If you liked what you've learned so far, dive in! Subscribe to get access to this tutorial plus video, code and script downloads.
If you liked what you've learned so far, dive in! Subscribe to get access to this tutorial plus video, code and script downloads.
Whoops, an error! Please, try again later.
4 Comments
Where did the two files get created? It looks like the initial run of this should have failed because neither file would have been found. Although the constructor created the test directory, it didn't put anything into it.
Hey Michael!
The __construct() creates the test directory, then the 2 "I have a file named..." lines actually create the 2 files. Because of the chdir('test') in __construct, the files should end up right inside test. Does that make sense? Are you seeing something different?
Cheers!
I was missing the fact that iHaveAFileNamed() was creating the files with touch. (My Linux foo is lacking.) Makes perfect sense now.
BTW, I have watched a large number of videos and have learned a great deal, bordering on information overload. (Which side of the border is anyone's guess.) I'm off to go put what I've learned into practice and will return in a couple of months, giving me time to digest, and you time to make more tutorials. In the meantime, I will be singing your praises!
We'll be busy while you're gone. And congrats - I could tell you were absolutely devouring the content - that's awesome :).
Cheers!
"Houston: no signs of life"
Start the conversation!