vendredi 16 décembre 2016

Testing JavaScript Code in JSP file

I am trying to use QUnit to test JSP files that contain JavaScript/JQuery. In my test runner HTML file I am loading a test file by calling

  <script src="Tests/AddComponents_Tests.js"></script>

Is there something I could do in order to load the JSP file I am trying to test as well? Such as

  <script src="WebContent/AddComponents.jsp"></script>

Aucun commentaire:

Enregistrer un commentaire