Socket
Book a DemoInstallSign in
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
Package was removed
Sorry, it seems this package was removed from the registry

hoppscotch-cli-test

A CLI to run Hoppscotch test scripts in CI environments.

unpublished
latest
npmnpm
Version
0.1.1
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
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:

  • hopp-cli -v / hopp-cli --ver

    • Prints out the current version of the Hoppscotch CLI
  • 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
  • hopp-cli -h / hopp-cli --help

    • Displays the help text
  • 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:

  • Clone the repository
  • pnpm install
  • cd packages/hoppscotch-cli
  • pnpm run build
  • sudo pnpm link --global
  • Test the installation by executing hopp-cli

Contributing:

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

Keywords

cli

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