Socket
Socket
Sign inDemoInstall

@zowe/cli-test-utils

Package Overview
Dependencies
225
Maintainers
3
Versions
143
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @zowe/cli-test-utils

Test utilities package for Zowe CLI plug-ins


Version published
Weekly downloads
48
decreased by-49.47%
Maintainers
3
Install size
963 kB
Created
Weekly downloads
 

Readme

Source

Test Utils Package

The Zowe CLI test utils package contains utilities that can be used by CLI plug-ins to automatically manage an environment for system tests.

How to Use

The TestEnvironment class in this package can be used to easily set up and tear down a CLI plug-in test environment. Supported functionality includes:

  • Load system test properties from YAML file
  • Create and delete CLI profiles
  • Install CLI plug-in from source
  • Run Bash scripts that test CLI commands

See Plugin Testing Guidelines for a detailed example of how to use the TestEnvironment class.

If you want additional functionality, the TestEnvironment class can be extended to add new behavior in the setUp and cleanUp methods.

Keywords

FAQs

Last updated on 02 Apr 2024

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc