Karate: [Feature request] Integration of OpenApi service definition

Created on 24 Dec 2018  路  2Comments  路  Source: intuit/karate

Would it be possible to extend Karate by integrating some knowledge about services defined in an OpenApi spec file?
OpenApi indeed defines service requests, responses and data models and it would be great if Karate could just let us define test cases based on these definitions.
Something like:
Given model
When operationId
Then success
And match response == model

help wanted

Most helpful comment

@acabarbaye this is not something we consider a priority but I'll leave this open with a tag of "help wanted"

my personal opinion: there is not much value. what you need from your tests is validation of responses from a functionality and business-logic point-of-view - not data-format and schema validation

All 2 comments

@acabarbaye this is not something we consider a priority but I'll leave this open with a tag of "help wanted"

my personal opinion: there is not much value. what you need from your tests is validation of responses from a functionality and business-logic point-of-view - not data-format and schema validation

@acabarbaye closing, feel free to refer to if submitting a PR

Was this page helpful?
0 / 5 - 0 ratings