We are using the jasmine-jquery widget framework in our application. I've learned how to use it over the past two days and I have written a few job posting on as much. If you'll follow the links below I hope it will give you a high level understanding of the ABCs. There should be more postings after this one too.
- an example of a widget and its use:
http://tom-jaeschke.blogspot.com/2012/01/last-refactoring-for-preparing-for.html
- why use this approach?
because it is easy to encorporate Jasmine
- how the widget may be put under Jasmine testing:
http://tom-jaeschke.blogspot.com/2012/01/my-first-jasmine-test.html
- how to run Jasmine tests:
http://tom-jaeschke.blogspot.com/2012/01/how-to-run-jasmine-test.html
- how to access different widget features, passing parameters:
http://tom-jaeschke.blogspot.com/2012/01/how-one-calls-methods-and-passes.html
- how to write behavior-driven development (BDD) assertions for Jasmine tests:
https://github.com/velesin/jasmine-jquery
No comments:
Post a Comment