Manual testing is tedious, time consuming, labor intensive and error prone where as Automated testing can dramatically improve efficiency and effectiveness and enables testers to focus their time on more strategic activities such as exploratory testing and usability etc.
- Comes with assertions, spies, and mocks, so pretty much everything you may need to start developing your unit tests. Jasmine makes the initial setup easy and user can still add libraries if the user really require unit functionality.
- It’s easy to start adding tests to use’s app right away. Jasmine provides developers with everything user need out-of-the box and there are not much inconsistency.
- We can find the standalone version made it easy to see just how everything is setup and user can start playing around with it right away.
- It integrates with Angular 1 and Angular 2 alongside many popular libraries today.
- Supports asynchronous testing and makes use of ‘spies’ for implementing test doubles.
- Supports testing of front-end code through a front-end extension of Jasmine called Jasmine-jQuery.
- Jasmine is very easy to implement in any kind of development methodology.
- All the syntax used in Jasmine framework is clean and obvious
- It is heavily influenced by other unit testing frameworks, such as ScrewUnit, JSSpec, JSpec, and RSpec etc.
- Jasmine is an open-source framework and easily available in different versions like stand-alone, ruby gem, Node.js, etc.
Along with it’s huge benefits, the aim and objective of Jasmine is to be browser, framework, platform and language independent. Besides it’s behavioral driven development, it also supports Test driven development.
In conclusion, the Jasmine framework has almost everything built into it including assertions/expectations and test double utilities (which come in the form of spies).