apache/openwhisk

Validate API-level tests against Swagger spec

开放

#3,959 创建于 2018年8月9日

 (1 条评论) (1 个反应) (0 位负责人)Scala (1,177 个派生)batch import
help wantedtesting

仓库指标

星标
 (6,777 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

The goal is to include validation of requests and responses (maybe only responses) in *ApiTests which are mostly located under whisk/core/controller package in the test suite. This validation is already in place for the tests in system.basic package.

Provide the expected results and outputs:

The validator should check that request and response conforms to the Swagger spec in core/controller/src/main/resources/apiv1swagger.json

Additional information you deem important:

Some test from the system.basic test suite might be later moved to the API-level tests as long as we have the swagger spec validation in place.

贡献者指南