hydra-validator-e2e

A set of tools to execute E2E tests on a Hydra API

Usage no npm install needed!

<script type="module">
  import hydraValidatorE2e from 'https://cdn.skypack.dev/hydra-validator-e2e';
</script>

README

hydra-validator-e2e

End-to-end CLI plugin for testing Hydra APIs

Installation

npm i hydra-validator hydra-validator-e2e

Usage

Installing the plugin adds a command to the runner:

> hydra-validator e2e --help

Usage: e2e [options] <url>

Options:
  -d, --docs <docsPath>  path to JSON containing test scenarios
  -h, --help             output usage information

Example test run

hydra-validator e2e -d ./example/hydracg-movies-api.json https://hydra-movies.herokuapp.com/