Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using Jasmine for Javascript testing

 
Amit Bhargava
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi folks,

I'm new to Jasmine. I am able to test JavaScript code in js files. How would I go about testing JavaScript code which is embedded in a JSP? Thanks.
 
Amit Bhargava
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Finally just separated the js from the jsp and tested it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic