Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hoppscotch-cli-test

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hoppscotch-cli-test

A CLI to run Hoppscotch test scripts in CI environments.

  • 0.1.1
  • unpublished
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Hoppscotch CLI

A CLI to run Hoppscotch test scripts in CI environments.

Preview of the CLI:

Demo Video

Commands Available:

Usage: hopp-cli [options or commands] arguments

Options:
  -v, --ver            see the current version of the CLI
  -c, --config <file>  path to a Hoppscotch collection.json file for CI testing
  -h, --help           display help for command

Commands:
  test                 interactive Hoppscotch testing through CLI

Command Descriptions:

  1. hopp-cli -v / hopp-cli --ver

    • Prints out the current version of the Hoppscotch CLI
  2. hopp-cli -c <config> / hopp-cli --config <config>

    • Takes an absolute path of the Hoppscotch config JSON
    • Parses the collection JSON and executes each requests
    • Outputs the response of each request
    • (FUTURE SCOPE): Execute the pre-request and post-request scripts on each request
  3. hopp-cli -h / hopp-cli --help

    • Displays the help text
  4. hopp-cli test

    • Interactive CLI to accept Hoppscotch collection JSON path
    • Parses the collection JSON and executes each requests
    • Outputs the response of each request
    • (FUTURE SCOPE): Execute the pre-request and post-request scripts on each request

Installation:

  1. Clone the repository
  2. pnpm install
  3. cd packages/hoppscotch-cli
  4. pnpm run build
  5. sudo pnpm link --global
  6. Test the installation by executing hopp-cli

Contributing:

To get started contributing to the repository, please read CONTRIBUTING.md

Keywords

FAQs

Package last updated on 24 Mar 2022

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