Here are some of the packages that we will be working with to write the tests for our application:
- Mocha: A JavaScript test framework to write unit testing (https://mochajs.org/)
- Chai: An assertion library for the Node.js framework (http://chaijs.com/)
- Sinon: sinon is for test spies, stubs, and mocks (http://sinonjs.org/)
- Nightwatch: A JavaScript library for writing end-to-end tests (http://nightwatchjs.org/)
- Karma: karma is the test runner for JavaScript (https://karma-runner.github.io/2.0/index.html)
We will discuss each of these technologies as we go along.