VSCode plugin for triggering WTR tests.
Simple way to run or debug a specific test.
Run & Debug your WTR Tests from
- Context-Menu
- CodeLens
- Command Palette (cmd+shift+p)
@web/test-runner
must be installed in your project.
Include if your extension adds any VS Code settings through the contributes.configuration
extension point.
For example:
This extension contributes the following settings:
test-runner.codeLensSelector
: CodeLens will be shown on files matching the specified pattern.
Default is set to : "**/*.{test,spec}.{js,jsx,ts,tsx}"
test-runner.config-directory
: The directory path in which the web-test-config needs to be picked by the extension while running the tests.
Default is set to : null. i.e root of the project will be considered.
- Mocha framework's BDD & TDD style syntax