Feature: Validations : File writing
{ "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.001
And
the file "hello2.json" is gzipped
00:00:00.003
{}
And
string "${externalReferenceId}" is written to file "helloWERAWE.txt"
00:00:00.001
{ "bla": "HELLO\nWORLD" }
HELLO WORLD
And
string "${bla}" is written to file "multiLine.txt"
00:00:00.001