Javascript Testing

(In order of popularity by npm downloads)

  • Jest - snapshot large objects, parallel testing, code coverage, mocks.
  • Mocha - browser support, async support, parallel testing, code coverage
  • Karma - real browser or headless PhantomJS, just a runner so use it with Jasmine, Mocha, etc.


Avatar of Author

Jamie Macey is a senior software engineer with over 15 years experience in the Ruby and Rails ecosystems, largely on the back-end.

Husband, father, gamer, and all-around geek. Ask about my latest 3d print, or toy software project.