apache/openwhisk

Validate API-level tests against Swagger spec

Offen

#3.959 geöffnet am 09.08.2018

 (1 Kommentar) (1 Reaktion) (0 zugewiesene Personen)Scala (1.177 Forks)batch import
help wantedtesting

Repository-Metriken

Stars
 (6.777 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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.

Contributor Guide