What is "jasmine"
Logo Jasmine http://pivotal.github.io/jasmine/images/jasmine_logo.png
Jasmine is an independent framework used for unit code testing Javascript using behaviour-oriented development (BDD).
Jasmine tests are divided into statements describe
and it
. describe
is used to indicate the start of a test suite and it
is used to indicate the start of a particular test.
Jasmine DOM Testing
If you want to write unit tests for code making a lot of interactions GIFT using jQuery, consider the use Jasmime-jQuery. Jasmine-jQuery offers simulated HTML interaction through HTML objects.
Resources
- Jasmine Source code on Github