Release 0.5
Introduction:
During my first release of OSD700 I learned the following:
- Jasmine.js Testing Framework
- Grunt
- Travis Continuous Integration
In particular the bug I was exposed to involved fixing jshint validation errors caught by Grunt-CLI.
Discovering bugs in Filer on Fedora 18 Chrome and found that the tests failed on Chrome however passed on Firefox.
Discovering bugs in Filer on Fedora 18 Chrome and found that the tests failed on Chrome however passed on Firefox.
Chrome Failed Tests:
Firefox passed test:
What is Jasmine.JS?
Jasmine.js is a testing framework that applies the behavior-driven development principles.
How do I write a Jasmine.JS Test?
Screenshot of code from: https://github.com/js-platform/filer/blob/develop/tests/spec/filer.spec.js |
Note: The 'describe' function has nested 'it' functions. Each it function is an individual test.
Comments
Post a Comment