Jasmine is a behavior-driven development framework for testing JavaScript code with a clean, obvious syntax so that you can easily write tests. Testem is test runner that makes Javascript unit testing easier. In this blog post, Joe Zimmerman provides a step by step approach to set up a Jasmine unit testing environment with Testem.
After a introduction to Testem, the post describes how to organize the files and folders structure. Then he explains how to set up the HTML file that runs the Jasmine tests and how to configure Testem. All the configuration files are listed in the post. Running the tests is then easy,: in your console you go to the root directory and type “testem”.