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

dontSeeFileContentsEqual

Checks that contents of file found by seeFile doesn't equal to text.

Parameters

dontSeeInThisFile

Checks that file found by seeFile doesn't include text.

Parameters

seeFile

Checks that file exists

Parameters

seeFileContentsEqual

Checks that contents of file found by seeFile equal to text.

Parameters

seeInThisFile

Checks that file found by seeFile includes a text.

Parameters

writeToFile

Writes test to file

Parameters