4min chapter

React Round Up cover image

Cypress.io: One Testing Framework to Rule Them All with Gleb Bahmutov - RRU 199

React Round Up

CHAPTER

Cypress Code Coverage Plugin - Can Cypress Stop Your Imports?

Cypress has a thing where you can instrument your code with counters and at the end of a test run, can say this line in your source file in your component was a test run 10 times, this one five, but this one never was executed. So you probably should add a test to cover this. In Cypress, it's possible in my course, I, you know, I show how to do that. And when Cypress has a code coverage plugin, they generate for reports. But most of the things are the only thing where like, I'm kind of say, they're nice to have, but even without them, it's fine to use.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode