Jasmine for JS testing?

So Iโ€™m starting a new job at the end of July. One of the tools they use is Jasmine for JS testing. Iโ€™ve never heard of this framework/tools before, so Iโ€™m gonna take a look out of interest and to get a head start. Anyone got any resources or tips for a newbie?

2 Likes

Hi Gemma,

Jasmine has actually been around for a while (almost 4 years). The main documentation website is at https://jasmine.github.io/. There is a Get Started section as well as the main documentation.

There is a Google Group at https://groups.google.com/forum/#!forum/jasmine-js. This is a good place to search for the answer to specific questions. if you cannot find an answer, you can also post a question there as well.

Evan Hahn has a good starting tutorial on it at https://evanhahn.com/how-do-i-jasmine/. You can check out the contents of Evanโ€™s book, Javascript Testing With Jasmine, at https://library.oreilly.com/book/0636920028277/javascript-testing-with-jasmine/toc.

If you want to watch a video (rather than reading), check out https://www.youtube.com/watch?v=eVpXkyN0zOE.

Hope that helps,
Darrell

3 Likes

Jasmine is an open-source behavior-driven development framework, capable of testing any kind of JavaScript application.

Following are the advantages of using Jasmine over other available JavaScript testing frameworks โˆ’

  • Jasmine does not rely on browsers, DOM or any JavaScript framework
  • Jasmine is a simple API to test different components of JavaScript
  • All the syntax used in Jasmine framework is clean and obvious.
  • Jasmine is easily available in different versions like a stand-alone, ruby gem, Node.js, etc.

Below is the link for more information about the JavaScript Platform Automation Solutions available in the market, which include different Technologies for JavaScript Automation used in the software testing solutions:

Reference Link:

Moreover, you can get multiple tutorials online both free and paid which will help you learn the Jasmine easily.

Hope this information is helpful for you.