Behaviour-Driven Development Tool Jasmine 2.0 Released
- The quality of support for Node.js is enhanced by including all tests of Node as part of the continuous integration testing of Jasmine. Integration tests also include tests against major web browsers, including Firefox, Chrome, Safari and Internet Explorer.
- The dependency on Ruby has been dropped and replaced with Node.js and Grunt.js. This has decreased the amount of code and may simplify for the community to verify the function of contributions before they are added.
- Work on increasing quality of Jasmine by using Jasmine for testing itself.
Some changes have broken the backwards compatibility with previous versions, among others:
- The syntax for asynchronous tests has changed, a call-back function can now be provided.
- The interface for reporters has been replaced; this has resulted in changes in how call-backs are used and a decrease in coupling between custom implementations and Jasmine.
- The code for equality checks has been replaced which may cause a different behaviour.
In addition to these changes, a number of issues and bugs have been fixed. The biggest set of changes though comes from refactoring in almost all objects in the code base, using a more consistent coding style with the goals of improving tests and simplifying development for the core team as well as for the community when extending Jasmine.
The team have also updated the introduction to Jasmine, highlighting the changes for 2.0.
Sarah Howe Jul 06, 2015