apache/openwhisk

Validate API-level tests against Swagger spec

Open

#3,959 建立於 2018年8月9日

在 GitHub 查看
 (1 留言) (1 反應) (0 負責人)Scala (1,177 fork)batch import
help wantedtesting

倉庫指標

Star
 (6,777 star)
PR 合併指標
 (平均合併 17小時 31分鐘) (30 天內合併 3 個 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.

貢獻者指南