Feature: Validations: File writing
File name: file.feature
Relative path: features/file.feature
{
"directory": "./test"
}
{
"item": "hello.json"
}
{
"externalReferenceId": "hello"
}
| item | externalReferenceId |
|---|---|
| hello.json | hello |
{
"item": [
{
"name": "HELLO MAF"
},
{
"name": "Good Day"
}
]
}
And
item "item" is written in json line delimited format to file "hello2.json"
00:00:00.002
{
"lastRun": ""
}
{
"lastRun": ""
}
And
string "${externalReferenceId}" is written to file "helloWERAWE.txt"
00:00:00.002
{
"bla": "HELLO\nWORLD"
}
HELLO WORLD
And
string "${bla}" is written to file "multiLine.txt"
00:00:00.002