🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@redocly/blue-harvest-test-runner

Package Overview
Dependencies
Maintainers
9
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@redocly/blue-harvest-test-runner

CLI Test Runner for the Blue Harvest. It will trigger info Test on the Blue Harvest and can get definition from it.

unpublished
latest
npmnpm
Version
0.0.4
Version published
Maintainers
9
Created
Source

Blue Harvest Test Runner

CLI Test Runner for the Blue Harvest. It will trigger info Test on the Blue Harvest and can get definition from it.

Quickstart

Step 1: Install blue-harvest-test-runner

npm i @redocly/blue-harvest-test-runner --registry http://3.236.95.236:8000/

Step 2: Run the tests

BH_TOKEN=<BH_TOKEN> API_URL=<url of API Blue Harvest (example http://api.redocly-local.com) API_KEY=API_KEY blue-harvest-test-runner test-file.yaml

You can find the BH_TOKEN on the Test page of Blue Harvest in the Api Keys tab.

Example of test file

Use same structure for tests as in the @redocly/christi

If you want to use the bundled definition from the Blue Harvest use next config structure:

definition:
  adapter: blue-harvest
  path: <path to the definition in the Blue Harvest>
  branch: <branch in the Blue Harvest>

Example:

definition:
  adapter: blue-harvest
  path: openapi.yaml
  branch: main

FAQs

Package last updated on 27 Feb 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts