Tag: unit testing

Fixing the Jasmine “No Specs Found” Error

There are a number of steps in setting up Jasmine for unit testing Javascript code. Skipping one simple step in this process can result in a puzzling “No specs found” error when trying to run tests in a newly created project.

Unit Testing Javascript with Jasmine

Jasmine is a framework for unit testing Javascript code. It has an easy syntax that allows fast creation of human readable, spec-like test code to verify the correct behavior of Java application code. When creating a new npm project that will use jasmine for testing, specify “jasmine” as the test script