thetoxicavenger / mocha-chai-sinon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

By the end of this lesson, you should be able to:

  • Explain the difference between unit testing and integration testing √
  • Write unit tests for functions that have dependencies √
  • Utilize beforeEach and afterEach blocks to setup/teardown test dependencies. √
  • Explain the difference between stubs and spies √

Resources

https://sinonjs.org/releases/latest/stubs/ https://en.wikipedia.org/wiki/Method_stub https://sinonjs.org/releases/latest/spies/ https://mherman.org/blog/stubbing-http-requests-with-sinon/

About


Languages

Language:JavaScript 98.8%Language:CSS 1.0%Language:HTML 0.2%