vscode-extension-tester icon indicating copy to clipboard operation
vscode-extension-tester copied to clipboard

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

Open djelinek opened this issue 9 months ago • 1 comments

Describe the request

investigate possibility of inquirer

Usage

easiest way of building full extest command with options

djelinek avatar Apr 26 '24 11:04 djelinek

➜  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

djelinek avatar Apr 29 '24 12:04 djelinek