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.
Tracking issue for the Karma test runner (http://karma-runner.github.io/) support.
Perhaps this could run on Nashorn instead of node.js and native V8?
Tests executed using Karma are (not unlike js-test-driver) executed in browsers which are "attached" to karma server. So I'm not sure what you mean by "node.js". In general I agree that Nashorn could be used to execute junit tests without the need for browsers/servers ala karma/js-test-driver.
I understood that the karma server requires the V8 engine and is installed using the node.js package manager. (I assume to satisfy dependencies.)
I see, that's true. What do you think would be a benefit of running Karma using Nashorn instead of node.js?
Benefit of leveraging the already installed JDK is to remove the number of external dependencies: I would have to install V8 and node.js in order to make use of karma. I think it would be a great experience if Netbeans and JDK 8 provides everything out of the box or at least allows the installation of karma without changes to the operating environment. I think I remember that part of the Nashorn goal was to provide a node.js compatible runtime called node.jar, but I am not aware of something like the node package manager (NPM) is part of Nashorn/node.jar or if the NPM can be run with Nashorn out of the box. I assume a good contact to Oracle could help here...
Taking over.
Tomas, can this now be closed as done?
Yes, we support it. If there are some issues/enhancements, report them separately. Thanks.