-
Notifications
You must be signed in to change notification settings - Fork 61
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 experimental runner cli #235
Conversation
The context behind this is wanting a standard way to run VS Code tests, with which we can build an extension that shows VS Code tests in the test explorer. This does that. The previous APIs are there and will always be supported as an alternative way to run tests. See the readme for usage. Integration in js-debug for "debugging" is not there yet, but it will come.
Some feedback I have:
|
|
Could this be done in a separate node module that uses |
That could work, particularly if that "agnostic" CLI works with test-web later as well. |
And then electron-test and web-test would be both optional peer dependencies of it? |
Yep |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I love the direction this is going in!
Going to close and reopen this in a new repo as Martin suggested. |
This creates a `@vscode/test-cli` NPM module that exposes a `vscode-test` command line. This reads a configuration file, described in the readme, and runs all tests defined therein by default. Multiple configurations can be defined, in which case they are all run sequentially. See previous discussion on microsoft/vscode-test#235 This is largely the same as the version in that PR, with the addition of a reporter and addressed comments.
Now in microsoft/vscode-test-cli#1 I also have the extension to integrate in VS Code ready to go, which I'll share after the CLI gets published 🙂 |
This creates a `@vscode/test-cli` NPM module that exposes a `vscode-test` command line. This reads a configuration file, described in the readme, and runs all tests defined therein by default. Multiple configurations can be defined, in which case they are all run sequentially. See previous discussion on microsoft/vscode-test#235 This is largely the same as the version in that PR, with the addition of a reporter and addressed comments.
Extension to run tests in VS Code 👉 https://github.com/microsoft/vscode-extension-test-runner |
The context behind this is wanting a standard way to run VS Code tests, with which we can build an extension that shows VS Code tests in the test explorer. This does that. The previous APIs are there and will always be supported as an alternative way to run tests.
See the readme for usage. Integration in js-debug for "debugging" is not there yet, but it will come.