Jasmine for JS testing?

(Gem) #1

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?

(Darrell) #2

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,