Summary
In this short but important chapter, we learned about software testing.
We took the opportunity to remind you of the importance of software/code quality in general and of testing in particular. We briefly covered what testing is, as well as different types of tests that can be created to increase the confidence in what we build, mocks and stubs, and many other elements.
We also reviewed some testing approaches, such as TDD and BDD, as well as concepts such as the test pyramid, test automation, and many others.
While covering this subject, we also introduced different testing tools and libraries that are currently heavily used in the JavaScript/TypeScript ecosystem. We then presented the Jest testing library (https://jestjs.io). ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access