The moose likes HTML, CSS and JavaScript and the fly likes Testing Javascript/AJAX Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Testing Javascript/AJAX" Watch "Testing Javascript/AJAX" New topic

Testing Javascript/AJAX

Jaikiran Pai

Joined: Jul 20, 2005
Posts: 9947

This question might not be directly related to the book. I was wondering if there are any strategies for testing Javascript or AJAX code in applications? Something like JUnit tests or other test utilities that we have for testing Java code.

[My Blog] [JavaRanch Journal]
Frank Zammetti
Ranch Hand

Joined: Dec 16, 2004
Posts: 136
Hi Jaikiran,

I don't cover unit testing specifically in the book, but the following project looks very promising:


I haven't had a chance to play with it yet, but I've seen some good comments about it.

-- <br />Frank W. Zammetti<br />Founder and Chief Software Architect<br />Omnytex Technologies<br /><a href="http://www.omnytex.com" target="_blank" rel="nofollow">http://www.omnytex.com</a><br />AIM/Yahoo: fzammetti<br />MSN: fzammetti@hotmail.com<br />Author of "Practical Ajax Projects With Java Technology"<br /> (2006, Apress, ISBN 1-59059-695-1)<br />and "JavaScript, DOM Scripting and Ajax Projects"<br /> (2007, Apress, ISBN 1-59059-816-4)<br />Java Web Parts - <a href="http://javawebparts.sourceforge.net" target="_blank" rel="nofollow">http://javawebparts.sourceforge.net</a><br /> Supplying the wheel, so you don't have to reinvent it!
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Testing Javascript/AJAX
Similar Threads
jQuery advantages over javascript
Ajax & Cross-browsers
Does the book cover web tier testing?