Can someone help me with a good Javascript Unit testing framework that can run tests run from the browser under my application environment?

I looked into a few frameworks and all of those involved loading all my JS files in a separate environment and running the test. (I tried Karma with Jasmine).

But unfortunately, that won't work for me since my JS files are dependent on many other thirdparty js files and JSP files too. I can include the thirdparty JS files too. But, I have no idea what to do with my JSP dependencies.

So, I'm looking for a testing framework that can run right from the browser, under my application's window (like from the console or like a browser extension).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.