lib/files.yamlfile (?P<embedded_file>\S+)Create a file on disk from an embedded file in the subplot document. The created file has the same name as the embedded file.
Captures:
embedded_file: fileexecutable file (?P<embedded_file>\S+)Create a file on disk from an embedded file in the subplot document. The created file has the same name as the embedded file and is marked as executable.
Captures:
embedded_file: filefile (?P<filename_on_disk>\S+) from (?P<embedded_file>\S+)Create a file on disk from an embedded file in the subplot document. Set the name of the created file.
Captures:
filename_on_disk: pathembedded_file: fileexecutable file (?P<filename_on_disk>\S+) from (?P<embedded_file>\S+)Create a file on disk from an embedded file in the subplot document. Set the name of the created file. Also the created file will be marked as executable.
Captures:
embedded_file: filefilename_on_disk: pathI write "(?P<text>.*)" to file (?P<filename>\S+)Create a file on disk with the given content.
Captures:
filename: pathtext: textI remove file (?P<filename>\S+)Remove a file from disk. It can’t be a directory.
Captures:
filename: patha directory (?P<path>\S+)Create a directory on disk.
Captures:
path: pathI create directory (?P<path>\S+)Create a directory on disk.
Captures:
path: pathI remove directory (?P<path>\S+)Remove a directory on disk.
Captures:
path: pathI remove empty directory (?P<path>\S+)Remove a directory on disk, but only if it’s empty.
Captures:
path: pathdirectory (?P<path>\S+) existsCheck that a directory exists.
Captures:
path: pathdirectory (?P<path>\S+) does not existCheck that a directory does not exist.
Captures:
path: pathdirectory (?P<path>\S+) is emptyCheck that a directory exists and does not contain anything.
Captures:
path: pathdirectory (?P<path>\S+) is not emptyCheck that a directory exists and contains something.
Captures:
path: pathfile (?P<filename>\S+) has modification time (?P<mtime>\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2})Create a file with specific modification time.
Captures:
mtime: textfilename: pathI remember metadata for file (?P<filename>\S+)Remember the metadata of a file.
Captures:
filename: pathI touch file (?P<filename>\S+)Update the modification time of a file to be current time.
Captures:
filename: pathfile (?P<filename>\S+) has same metadata as beforeCheck that a file has the same metadata as remembered from earlier.
Captures:
filename: pathfile (?P<filename>\S+) has different metadata from beforeCheck that a file metadata has changed from earlier.
Captures:
filename: pathfile (?P<filename>\S+) has changed from beforeCheck that file metadata has changed from before.
Captures:
filename: pathfile (?P<filename>\S+) has a very recent modification timeCheck that file modification time is recent.
Captures:
filename: pathfile (?P<filename>\S+) has a very old modification timeCheck that file modification is far in the past.
Captures:
filename: pathfile (?P<filename>\S+) existsCheck that a file exist.
Captures:
filename: pathfile (?P<filename>\S+) does not existCheck that a file does not exist.
Captures:
filename: pathonly files (?P<filenames>.+) existCheck that the test directory only contains specific files.
Captures:
filenames: textfile (?P<filename>\S+) contains "(?P<data>.*)"Check that a file contains a string.
Captures:
filename: pathdata: escapedtextfile (?P<filename>\S+) doesn't contain "(?P<data>.*)"Check that a file does not contain a string.
Captures:
data: escapedtextfilename: pathfile (?P<filename>\S+) matches regex /(?P<regex>.*)/Check that file content matches a regular expression.
Captures:
regex: textfilename: pathfile (?P<filename>\S+) matches regex "(?P<regex>.*)"Check that file content matches a regular expression.
Captures:
regex: textfilename: pathfiles (?P<filename1>\S+) and (?P<filename2>\S+) matchCheck that two files have the same content.
Captures:
filename1: pathfilename2: pathfiles (?P<filename1>\S+) and (?P<filename2>\S+) on disk are identicalCheck that two files have the same content.
Captures:
filename1: pathfilename2: pathfiles (?P<filename1>\S+) and (?P<filename2>\S+) on disk are differentCheck that two files do not have the same content.
Captures:
filename2: pathfilename1: pathfile (?P<filename>\S+) on disk and embedded file (?P<embedded>\S+) are identicalCheck that a file on disk and an embedded file contain the same data.
Captures:
filename: pathembedded: filefile (?P<filename>\S+) on disk and embedded file (?P<embedded>\S+) are differentCheck that a file on disk and an embedded file do not contain the same data.
Captures:
embedded: filefilename: path