December 2016
Intermediate to advanced
841 pages
17h
English
In this chapter, we discussed some core testing concepts (including stubs, spies, suites, and more). We also looked at the test-driven development and behavior-driven development approaches and how to work with some of the leading JavaScript testing frameworks, such as Mocha, Chai, Sinon.JS, Karma, Selenium, and Nightwatch.js.
Towards the end of the chapter we explored how to test across multiple devices and how to generate test coverage reports.
In the next chapter, we will look at decorators and the metadata reflection API—two exciting new features introduced by TypeScript 1.5.
Read now
Unlock full access