Feature: Validations : Equivalence testing
{ "directory": "./test" }
{ "str": "I am a string\"\nwith new lines" }
I am a string" with new lines
{ "doubleStr": "I am a string\"\nwith new lines\nNext Line" }
${str} Next Line
{ "newItem": { "str": "I am a string\"\nwith new lines" } }
{ "str": "${str}" }
Then
item "newItem" is equal to:
00:00:00.002
{ "str": "I am a string\"\nwith new lines" }
And
item "doubleStr" is equal to:
0s
I am a string" with new lines Next Line
{ "directory": "./test" }
{ "lastRun": "5" }
Then
it is not null
00:00:00.001
And
"5" >= "5"
0s
{ "directory": "./test" }
{ "bob": "6" }
Then
item "bob" is not null
0s
{ "directory": "./test" }
Then
"5" is not equal to "7"
0s
{ "directory": "./test" }
{ "bob": "6" }
{ "sally": "7" }
Then
"${sally}" is not equal to "${bob}"
0s
{ "directory": "./test" }
{ "test1": "the quick brown fox jumped over the lazy dog" }
Then
item "test1" contains "quick brown"
0s
{ "test2": { "firstname": "Robert", "lastname": "Paulson" } }
{ "firstname" : "Robert", "lastname" : "Paulson" }
Then
item "test2" contains "Robert"
0s
And
item "test2" contains "lastname"
0s
{ "myItem": "Banan" }
{ "test3": [ "Apple", "Banana", "Orange" ] }
[ "Apple", "Banana", "Orange" ]
Then
item "test3" contains "Ora"
0s
And
item "test3" contains "${myItem}"
0s
And
item "test3" does not contain "Kiwi"
0s