Downloaded 28 times












Unit testing JavaScript code helps find problems early, facilitates change, and simplifies integration. Jasmine is a behavior-driven development framework for testing JavaScript that has a clean, obvious syntax and does not depend on other frameworks. Writing tests is important because JavaScript is now used widely in web servers, client libraries, HTML5, and databases, so learning it and testing code is essential to avoid being left behind as the language continues to grow in popularity and usage.










