Skip to content

[feature-request/regression] Allow to run tests/coverage directly from IDE #10755

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

Closed
aszechlicki opened this issue May 9, 2018 · 5 comments
Closed
Labels
feature Issue that requests a new feature

Comments

@aszechlicki
Copy link

Versions

Angular CLI: 6.0.0
Node: 9.3.0
OS: win32 x64
Angular: 6.0.0
... animations, cli, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.6.0
@angular-devkit/build-angular     0.6.0
@angular-devkit/build-optimizer   0.6.0
@angular-devkit/core              0.6.0
@angular-devkit/schematics        0.6.0
@ngtools/webpack                  6.0.0
@schematics/angular               0.6.0
@schematics/update                0.6.0
rxjs                              6.1.0
typescript                        2.7.2
webpack                           4.6.0

Observed behavior

In previous versions I was able to run tests and coverage directly from WebStorm, which made our lives a lot easier since we could only launch specific tests just by clicking icon in the editor gutter, and had great integration of test and coverage results in IDE.
Upgrade to CLI v6 broke that, we now get error:

Error: The '@angular-devkit/build-angular/plugins/karma' karma plugin is meant to be used from within Angular CLI and will not work correctly outside of it.
    at init (C:\Users\arkad\source\project\node_modules\@angular-devkit\build-angular\src\angular-cli-files\plugins\packages\angular_devkit\build_angular\src\angular-cli-files\plugins\karma.ts:53:11)

Desired behavior

I would like to be able to run tests and coverage directly from IDE, like I was able to in previous versions

@clydin clydin added the feature Issue that requests a new feature label May 9, 2018
@pgingras
Copy link

This would be really helpful to our team too! Makes a huge difference.

@AlexGS74
Copy link

It works in Webstorm 2018.2 EAP published yesterday.

@clydin
Copy link
Member

clydin commented May 17, 2018

Closing as resolved via Webstorm as indicated above.

@clydin clydin closed this as completed May 17, 2018
@pgingras
Copy link

This issue seems to duplicate #10703, so it's alright to close it, but I would like to mention that as indicated by the comment on the other issue Webstorm 2018.2 EAP does not seem to fix it.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature Issue that requests a new feature
Projects
None yet
Development

No branches or pull requests

4 participants