Testing - dennisvintherjensen/OpenClassrooms-FED-Enhance-an-existing-project GitHub Wiki

Testing framework

The testing framework used is the Open Source Jasmine JavaScript Testing Framework. Jasmine allows for writing test in a behavior-driven development style and includes an assertion (expections) library and a test double (spy) library.

Test location

All tests are contained in the file located at test/ControllerSpec.js.

New tests can be added (and existing edited) in this file.

Running the tests

The tests are easily run by opening the file test/SpecRunner.html in a browser