FileSystem
Extends Helper
Helper for testing filesystem. Can be easily used to check file structures:
I.amInPath('test');
I.seeFile('codecept.json');
I.seeInThisFile('FileSystem');
I.dontSeeInThisFile("WebDriverIO");
amInPath
Enters a directory In local filesystem. Starts from a current directory
Parameters
openPath
dontSeeFileContentsEqual
Checks that contents of file found by seeFile doesn't equal to text.
Parameters
textencoding
dontSeeInThisFile
Checks that file found by seeFile doesn't include text.
Parameters
textencoding
seeFile
Checks that file exists
Parameters
name
seeFileContentsEqual
Checks that contents of file found by seeFile equal to text.
Parameters
textencoding
seeInThisFile
Checks that file found by seeFile includes a text.
Parameters
textencoding
writeToFile
Writes test to file
Parameters
nametext