During my thesis work I'm slowly creating a very small functional JavaScript library. I write a lot of JavaScript these days and I write many bugs too. I want a nice integration with my IDE of choices for running unit tests for JS (no, HTML with tests inside is not a viable solution for me): Leveraring JUnit's API I created a very simple RhinoRunner. It is very simple to use, yet not perfect: import org.junit.runner.RunWith; @RunWith(RhinoRunner.class) @JavaScriptSourceFile("src/test/javascript/LambdaScriptTest.js") public class LambdaScriptTest { } |


