Efficient JavaScript unit testing
One of the biggest challenges of many enterprise web applications is the support on the different browsers with different versions. JavaScript code that runs on Safari does not necessarily mean it will work on IE or Firefox or Google chrome. This challenge is inherited from the lack of testing the JavaScript code that lives in the presentation tier from day one. Without unit testing the JavaScript code, organization will pay much money for testing, re-testing, and re-testing web applications for just deciding upgrading or supporting new browsers.
The session shows the importance of JavaScript unit testing by showing how hard the developer's life can be without unit testing the application code. It shows what JavaScript unit testing is and illustrates the current complexities in testing JavaScript code. The session also discusses the requirements of a good JavaScript unit testing tool and as an example of a good unit testing tool, the session introduces the JsTestDriver open source tool. The session then discusses the architecture, configuration, common constructs, and the different features of the JsTestDriver tool and how it can be integrated with the Java web applications. This session includes live demos that teach the audience how to develop JavaScript test cases for their synchronous and asynchronous JavaScript code.
The session achieves the following objectives:
- Discussing the importance of JavaScript unit testing and its current complexities.
- Discussing the criteria for selecting a good JavaScript unit testing tool.
- Teaching the audience how to perform JavaScript unit testing.
Schedule info
Audience
- Login to post comments
Copyright © 2012 The Eclipse Foundation. All Rights Reserved.









