This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 245713 - Add action "Test Project With" on karma-*.conf.js files
Summary: Add action "Test Project With" on karma-*.conf.js files
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Testing (show other bugs)
Version: 8.0.1
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-16 06:32 UTC by Tomas Mysik
Modified: 2015-06-25 02:27 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Mysik 2014-07-16 06:32:48 UTC
Originally reported as part os issue #245483:

> * All .config.js files should have a Test Project With action (wording?)
> that runs the tests with that config

Thanks.
Comment 1 Tomas Mysik 2014-07-16 07:50:57 UTC
Unfortunately, this is not easily doable... It is easy to add an action for all JS files but that is not what we want. Will try to investigate it more.
Comment 2 Tomas Mysik 2014-07-16 08:10:06 UTC
Sorry, no way how to do this properly right now, changing to enhancement.
Comment 3 Tomas Mysik 2015-06-24 06:54:20 UTC
Just found out that this is doable by creating "dummy" MIME type for Karma Config files. Changing back to DEFECT.
Comment 4 Tomas Mysik 2015-06-24 07:15:18 UTC
Done now, available only in projects where Karma is used for testing. The action name is "Set Karma Configuration". Please verify, thanks.

http://hg.netbeans.org/web-main/rev/bfee0b822898
Comment 5 Quality Engineering 2015-06-25 02:27:46 UTC
Integrated into 'main-silver', will be available in build *201506250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/bfee0b822898
User: Tomas Mysik <tmysik@netbeans.org>
Log: #245713 - Add action "Test Project With" on karma-*.conf.js files