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

[🚀 Request] Provide an interactive CLI as option for extest binary #1280

Open
djelinek opened this issue Apr 26, 2024 · 1 comment
Open
Labels
enhancement New feature or request good-first-issue Good for newcomers
Milestone

Comments

@djelinek
Copy link
Collaborator

Describe the request

investigate possibility of inquirer

Usage

easiest way of building full extest command with options

@djelinek djelinek added the enhancement New feature or request label Apr 26, 2024
@djelinek djelinek added this to the BACKLOG milestone Apr 26, 2024
@djelinek djelinek moved this from New to Backlog in ExTester Apr 26, 2024
@djelinek djelinek added the good-first-issue Good for newcomers label Apr 26, 2024
@djelinek
Copy link
Collaborator Author

➜  vscode-extension-tester (main) node_modules/.bin/extest --help
Usage: extest [options] [command]

UI Test Runner for VS Code Extension

Options:
  -V, --version                                     output the version number
  -h, --help                                        display help for command

Commands:
  get-vscode [options]                              Download VS Code for testing
  get-chromedriver [options]                        Download ChromeDriver binary
  install-vsix [options]                            Install extension from vsix file into test instance of VS Code
  install-from-marketplace [options] <id> [ids...]  Install extension from marketplace with given <id> into test instance of VS Code
  setup-tests [options]                             Set up all necessary requirements for tests to run
  run-tests [options] <testFiles...>                Run the test files specified by glob pattern(s)
  setup-and-run [options] <testFiles...>            Perform all setup and run tests specified by glob pattern(s)
  help [command]                                    display help for command

and then each command has his options, rg. get-vscode

➜  vscode-extension-tester (main) node_modules/.bin/extest get-vscode --help
Usage: extest get-vscode [options]

Download VS Code for testing

Options:
  -s, --storage <storage>       Use this folder for all test resources
  -c, --code_version <version>  Version of VS Code to download, use `min`/`max` to download the oldest/latest VS Code supported by ExTester
  -t, --type <type>             Type of VS Code release (stable/insider)
  -h, --help                    display help for command

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good-first-issue Good for newcomers
Projects
Status: Backlog
Development

No branches or pull requests

1 participant