---
title: "Discussion on \"How \"nyc\" works with \"mocha\" in test coverage - the basics\" | Hashnode"
description: "Discussion on \"How \"nyc\" works with \"mocha\" in test coverage - the basics\". As a software developer, you have most likely written some tests to verify that your application not only functions according to what it was designed for but also does not misbehave or fail under certain conditions. However, one thing you could not h..."
url: "https://hashnode.com/posts/how-nyc-works-with-mocha-in-test-coverage-the-basics/603bbbc79aeaec6b8ed5493d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How "nyc" works with "mocha" in test coverage - the basics](https://kaytbode.hashnode.dev/how-nyc-works-with-mocha-in-test-coverage-the-basics?utm_source=hashnode&utm_medium=feed)

As a software developer, you have most likely written some tests to verify that your application not only functions according to what it was designed for but also does not misbehave or fail under certain conditions. However, one thing you could not h...

Feb 28, 2021 · 4 min read · kaytbode.hashnode.dev  
Read the article

-   [#web-development](https://hashnode.com/tag/web-development)
-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#testing](https://hashnode.com/tag/testing)
-   [#mocha](https://hashnode.com/tag/mocha)
-   [#script](https://hashnode.com/tag/script)

## Written by

[Kayode Oluborode](https://hashnode.com/@Kayode)

@Kayode · Lagos, Nigeria

  
[View profile](https://hashnode.com/@Kayode)

Software engineer

I am a software developer from Lagos

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
