https://github.com/raagh/angular-karma_test-explorer
vscode extension for easy angular testing and debugging
https://github.com/raagh/angular-karma_test-explorer
angular angular-cli deprecated javascript karma test-runner testing-tools typescript unit-testing vscode vscode-extension vscode-plugin
Last synced: 3 months ago
JSON representation
vscode extension for easy angular testing and debugging
- Host: GitHub
- URL: https://github.com/raagh/angular-karma_test-explorer
- Owner: Raagh
- License: mit
- Archived: true
- Created: 2018-12-27T22:27:41.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-12-05T19:54:27.000Z (over 3 years ago)
- Last Synced: 2024-09-30T07:23:16.935Z (7 months ago)
- Topics: angular, angular-cli, deprecated, javascript, karma, test-runner, testing-tools, typescript, unit-testing, vscode, vscode-extension, vscode-plugin
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=raagh.angular-karma-test-explorer
- Size: 10.4 MB
- Stars: 65
- Watchers: 8
- Forks: 23
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Angular/Karma Test Explorer for Visual Studio Code
The `Angular/Karma Test Explorer` extension allows you to run or debug your Angular or Karma tests with the
[Test Explorer UI](https://marketplace.visualstudio.com/items?itemName=hbenl.vscode-test-explorer) extension on Visual Studio Code.
[](https://dev.azure.com/raagh/angular-karma-test-explorer/_build/latest?definitionId=2?branchName=master)
## THIS EXTENSION IS NO LONGER BEING UPDATED, PLEASE CONSIDER USING [THIS](https://marketplace.visualstudio.com/items?itemName=lucono.karma-test-explorer)
## Features
- See all angular tests in the side bar without running them.
- Reload tests manually by the reload button in the UI.
- Run all tests together, run set of tests, run single test and see results in the UI.
- Shows a failed test's log when the test is selected in the explorer.
- Block during test execution.
- Debug tests (Please read the [special notes](DOCUMENTATION.md) about this feature).
- Cancel current run (Please read the [special notes](DOCUMENTATION.md) about this feature).
- Lets you choose test suites or individual tests in the explorer that should be run automatically after each file change.
- Supports Angular CLI projects.
- Supports standalone karma (specify "Karma" as projectType).
- Supports non CLI Angular projects (specify "Angular" as projectType).
- Supports multi-root workspaces(only one angular app per workspace).
- Adds CodeLenses to your test files for starting and debugging tests.
- Adds Gutter decorations to your test files showing the tests' state.
- Adds line decorations to the source line where a test failed.
- Loads values from user karma.conf.js (some get removed to make the explorer work correctly).
- Detects configuration changes and reload tests automatically.
- Allows configuration for different type of workflows: Angular project path, project type, karma.conf path, default project name for multiple projects inside one root.
- Forwards the console output from Karma to a VS Code output channel(Test Explorer Logs).## How to use it?
- Check the [official documentation for this extension](DOCUMENTATION.md) to know the proper configuration for your specific scenario.
## Planned features
- Detect file changes(workspace, new test definitions) and reload tests automatically.
## What about bugs and fixes?
- If something goes wrong you will see error logs on vscode `Test Explorer Logs` output channel.
- If you find a bug or think that a feature is missing and is not in the backlog please report it using the appropiate github issue template.
- If you wanna help out please read the [contribution guidelines for this project](.github/CONTRIBUTING.md).
- If you have any urgent question you might wanna check our [Gitter Channel](https://gitter.im/Angular-Karma-Test-Explorer/Bugs) for a direct chat with me or other people using the extension.## Do you like my work? Then consider [becoming a Patron!](https://www.patreon.com/bePatron?u=23135460)