Test-driven JavaScript
For years, JavaScript has been the “Rodney Dangerfield” of programming languages, it got no respect. Today, JavaScript is being taken seriously, but is still struggling to be understood by many developers. One of the sore points with JavaScript development has been a universally accepted Unit Testing framework - such as JUnit in the Java world. In this session, we'll do some test-driven JavaScript development. The framework we'll use is jsTestDriver.
The jsTestDriver project provides an excellent unit testing framework for JavaScript. In this session, we'll setup jsTestDriver then apply it. We'll look at how to run it from the command line and execute it. For Those looking for IDE integration, we'll also setup the Eclipse plugin and use it to run some tests. There is an Intellij plugin also.
From here, we'll go through the configuration of jsTestDriver. We'll see how to connect multiple browsers (IE, Chrome, Firefox, Safari). Then we'll spend some time learning how to setup test cases with jsTestDriver. This session's goal is to get you up to speed with the setup and usage of jsTestDriver.
About Pratik Patel
Pratik Patel is a Java Champion and developer advocate at Azul Systems and has written 3 books on programming (Java, Cloud and OSS). An all around software and hardware nerd with experience in the healthcare, telecom, financial services, and startup sectors. He's also a co-organizer of the Atlanta Java User Group and North Atlanta JavaScript meetup, frequent speaker at tech events, and master builder of nachos.
More About Pratik »