Testing code creates more reliable and maintainable applications. When adding tests to an existing codebase, test coverage reports can help expose which parts of the app are untested. When creating a new test suite alongside a new app, test coverage reports can help guide the creation of valuable tests. In this screencast, we’ll show you how add and configure a test coverage tool called nyc.
After this screencast, you'll be able to:
- See what parts of your app are untested.
- Make better decisions about how to expand test coverage.
Familiarity with Node.js, testing fundamentals, and package managers (npm or yarn) is recommended.
For the More Curious...
Node V8 coverage
BNR Guide to Front-End Web Development
Full Stack Courses