thomaspoignant / api-scenario

API-scenario is a command-line tool that allows you to execute easily a scenario to test your APIs.
https://github.com/thomaspoignant/api-scenario#api-scenario
The Unlicense
16 stars 3 forks source link

#59 contains and does_not_contains works on JSON array #61

Closed thomaspoignant closed 4 years ago

thomaspoignant commented 4 years ago

Description

contains and does_not_contains was not working on JSON Array. This PR adds the support of contains and does_not_contains for array result.

It checks in the array if one of the values is equals to value of the assertion.

Changes include

Closes issue(s)

Resolve #59

Checklist

sonarcloud[bot] commented 4 years ago

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication