jeudi 22 décembre 2016

JavaScript Testing Frameworks and their Usage

I have come accross following JavaScript Libraries for testing:

  1. Frameworks -- Protactor, Mocha, Jasmine
  2. Assertion Lib -- Chai, Sinon, Should.Js, Expect.Js
  3. Test Runner -- MochCLI, Karma
  4. Code Coverage -- Blanket, Istanbul

Though, for an expert this might be simple, but considering a 'naive' like me these all seem confusing. Can someone help me out, if all these are used for Testing, then how are these related? What I figured out is for JS Framework -- Use AngularJs that's all. But now, when I started learning to testing, why such vast combinations needed?

Note:

I've went through: http://ift.tt/1kWggwA and http://ift.tt/1pNSEtj and enough points to know the scalable questions. But, for historic view and not many people or tutorial about the same I think the question will be helpful to SO society in future! and for amateurs like me to learn of the TEsting in JS!

Reference:

http://ift.tt/1HoMlVk http://ift.tt/1NgM644

-- Thanks

Aucun commentaire:

Enregistrer un commentaire