Chapter 7. Unit Testing and End-to-End Testing
In this chapter, the following recipes will be covered:
- Using Jasmine for testing Vue
- Adding some Karma to your workflow
- Testing your application state and methods
- Testing the DOM
- Testing DOM asynchronous updates
- End-to-end testing with nightwatch
- Simulating a double-click in nightwatch
- Different styles of unit testing
- Stubbing external API calls with Sinon.JS
- Measuring the coverage of your code