Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add cli:tarballs:smoke #359

Merged
merged 1 commit into from
Nov 22, 2021
Merged

feat: add cli:tarballs:smoke #359

merged 1 commit into from
Nov 22, 2021

Conversation

mdonnalley
Copy link
Contributor

@mdonnalley mdonnalley commented Nov 22, 2021

What does this PR do?

Adds cli:tarballs:smoke to replace existing smoke tests (sf and sfdx)

~/repos/salesforcecli/plugin-release-management [mdonnalley/smoke-test] : bin/run cli:tarballs:smoke --help
smoke tests for the tarballed CLI

USAGE
  $ sfdx cli:tarballs:smoke -c <string> [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

OPTIONS
  -c, --cli=sf|sfdx                                                                 (required) the cli to install
  --json                                                                            format output as json
  --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for this command invocation
  --verbose                                                                         show the --help output for each command

DESCRIPTION
  Tests that the CLI and every command can be initialized.

EXAMPLES
  sfdx cli:tarballs:smoke --cli sfdx
  sfdx cli:tarballs:smoke --cli sf

These smoke tests test the following:

  • --version
  • --help
  • plugins --core
  • --help on every command

What issues does this PR fix or reference?

@W-10190536@

@mdonnalley mdonnalley self-assigned this Nov 22, 2021
@mdonnalley mdonnalley force-pushed the mdonnalley/smoke-test branch from c989075 to cc8135e Compare November 22, 2021 17:38
@mdonnalley mdonnalley force-pushed the mdonnalley/smoke-test branch from cc8135e to 7dc3b7b Compare November 22, 2021 17:42
@mdonnalley mdonnalley changed the title feat: add cli:smoke:test feat: add cli:tarballs:smoke Nov 22, 2021
@mdonnalley mdonnalley merged commit 9c9c841 into main Nov 22, 2021
@mdonnalley mdonnalley deleted the mdonnalley/smoke-test branch November 22, 2021 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants