Is there any unit testing integration in nodeclipse?

隐身守侯 提交于 2019-12-10 11:37:03

问题


am I correct in thinking that nodeclipse does not yet provide unit test integration à la JUnit? I was hoping to be able to run tests individually, by script, by folder... but can't seem to find a way to do that.

Eric


回答1:


It is open issue #34 in the Noodeclipse project issue tracker, so no.




回答2:


As Node.js is using JavaScript, so you should actually search for JUnit-like integration for JavaScript.

And there are many unit testing framework for JavaScript,
and I don't know any mature Eclipse integration.

Quick search right now gives me

  • https://github.com/wgroeneveld/jasmine-junit-runner

  • JavaScript tests with JUnit


(source: benjiweber.co.uk)

I remember there were some others, but they all required tedious set-up work.
I don't know which project worth including into Nodeclipse.

You can help Nodeclipse by researching and giving more options here
or directly to #34



来源:https://stackoverflow.com/questions/27211677/is-there-any-unit-testing-integration-in-nodeclipse

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!