v2.1.0
- Steps:
- the "(JSON|YAML|XML)" node "([^"])" should be "(bool|boolean|float|int|integer|number|scalar|string)" of value "([^"])"
- the "(JSON|YAML|XML)" node "([^"]*)" should (not )?be "(array|bool|boolean|float|int|integer|map|mapping|nil|null|number|object|sequence|scalar|slice|string)"
contains more types to check against. Those types are strictly related with JSON, XML and YAML data types.
- New steps:
the response cookie "([^"]*)" should (not )?match regExp "([^"]*)"
the "(JSON|YAML|XML)" node "([^"]*)" should (not )?contain sub string "([^"]*)
the "(JSON|YAML|XML)" node "([^"]*)" should be "(bool|boolean|float|int|integer|number|scalar|string)" and contain one of values "([^"]*)"
I print cache data
- Steps:
- I generate a random word having from "(\d+)" to "(\d+)" of "(ASCII|UNICODE|polish|english|russian|japanese|emoji)" characters and save it as "([^"]*)"
- I generate a random sentence having from "(\d+)" to "(\d+)" of "(ASCII|UNICODE|polish|english|russian|japanese|emoji)" words and save it as "([^"]*)"
Have more charsets available.
godog
andgdutils
are updated to newest versions.- JSON path library
QJSON
is replaced to GJSON.
Migration tips from v2.0.0
to v2.1.0
:
Please, see your qjson
related JSON-paths and update them to GJSON.