Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Testing JavaScript like a "BOSS"

Testing JavaScript like a "BOSS"

Glance to JavaScript Testing

Swaroop SM

April 21, 2015
Tweet

More Decks by Swaroop SM

Other Decks in Technology

Transcript

  1. Testing Ground • Robust Test Framework • Assertion Library •

    Spying, Stubbing, Mocking Library • Test Runner • Reporting
  2. Spy, Stub and Mock • SinonJS • sinon.spy() • sinon.stub()

    • sinon.mock() Source: http://www.memecenter.com
  3. Reporting • HTML / JSON / XML / Spec /

    Dot • JSONCov / HTMLCov