Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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

@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.

  • 0.0.4
  • unpublished
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
9
Weekly downloads
 
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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc