I would like to stay on top of the latest releases. I noticed that Protractor is using Jasmine 1.3 (or is it mini Jasmine). With newer releases of Jasmine available then is there some additional functionality that these offer ?
Jasmine is a Behavior Driven Development testing framework for JavaScript. It does not rely on browsers, DOM, or any JavaScript framework. Thus it's suited for websites, Node. js projects, or anywhere that JavaScript can run; Protractor: End-to-end test framework for Angular and AngularJS applications.
By default, Protractor uses the Jasmine test framework for its testing interface. This tutorial assumes some familiarity with Jasmine, and we will use version 2.4. This tutorial will set up a test using a local standalone Selenium Server to control browsers.
Jasmine is a test framework, which provides BDD (Behavior Driven Development) functionalities for your automation framework. It is an independent framework i.e there is no dependency with other framework and doesn't require DOM. A describe-block, it-block, and an expectation with matcher makes one complete test script.
Jasmine 2.0 has a couple of big changes, and a lot of internal cleanup.
We recently tried to update Protractor to 2.0, but it would have resulted in a loss of some functionality. You can see the full discussion at https://github.com/angular/jasminewd/pull/5
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With