Testing in Node #3 - Coverage

By Sam Landfried on Feb 04, 2019


About

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
Istanbul (nyc)
BNR Guide to Front-End Web Development
Full Stack Courses

Transcript

Transcripts are only available for subscribers. Create an account today to access our collection of screencasts, skill packs, and more.

Downloads

Project files are only available for subscribers. Create an account today to access our collection of screencasts, skill packs, and more.

Comments