File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Testing and the fly likes Does the book cover web tier testing? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Does the book cover web tier testing?" Watch "Does the book cover web tier testing?" New topic

Does the book cover web tier testing?

Sapna Grover
Ranch Hand

Joined: Sep 27, 2002
Posts: 54
What is the best way to test the JavaScript APIs. With AJAX lots of functionality now lives in the web tier. Does the book cover some approaches for the same?

Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8927

A related question would be - Are there frameworks like JUnit for Javascript testing ?

Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
Web tier testing is covered as far as Java (or JSP) code is concerned. For testing JavaScript, including Ajax, you need to resort to another book.

As to which tools you should consider for testing your JavaScript and Ajax stuff, I'd recommend checking out Selenium, Watir, and JsUnit.

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
I agree. Here's the link:
subject: Does the book cover web tier testing?
It's not a secret anymore!