---
title: "Discussion on \"Why you should make your tests fail\" | Hashnode"
description: "Discussion on \"Why you should make your tests fail\". Learn why making your tests fail is actually a good idea."
url: "https://hashnode.com/posts/why-you-should-make-your-tests-fail/61a8d0ff3a275f70aed69091"
---

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

Discussion

# [Why you should make your tests fail](https://cathalmacdonnacha.com/why-you-should-make-your-tests-fail?utm_source=hashnode&utm_medium=feed)

Learn why making your tests fail is actually a good idea.

Dec 2, 2021 · 3 min read · cathalmacdonnacha.com  
Updated Nov 27, 2024  
Read the article

-   [#testing](https://hashnode.com/tag/testing)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#beginners](https://hashnode.com/tag/beginners)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)

## Written by

[Cathal Mac Donnacha](https://hashnode.com/@cathalmacdonnacha)

@cathalmacdonnacha · Ireland 🇮🇪

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

Follow me on my journey as I write about tech topics I face in my everyday life as a Frontend Developer 💻

## Responses 2

Markdown supported · ⌘↵ to post

[Tatiana Kornilova](https://hashnode.com/@Tati)

[Dec 23, 2021](https://hashnode.com/posts/why-you-should-make-your-tests-fail/61a8d0ff3a275f70aed69091/comment/61c424f0c0206b3f41f55450)

Please add a subscription option to stay in touch. I want to read your subsequent posts.

[Cathal Mac Donnacha](https://hashnode.com/@cathalmacdonnacha)

[Dec 23, 2021](https://hashnode.com/posts/why-you-should-make-your-tests-fail/61a8d0ff3a275f70aed69091/comment/61c424f0c0206b3f41f55450#reply-61c42c1b2d88363ed4eaa816)

Yep, you can just click the "Follow" button.

[Tatiana Kornilova](https://hashnode.com/@Tati)

[Dec 22, 2021](https://hashnode.com/posts/why-you-should-make-your-tests-fail/61a8d0ff3a275f70aed69091/comment/61c33fb8c0206b3f41f542da)

Hi! This is a very important topic. I absolutely agree that it is necessary to check the tests for negative scenarios. Several times I also found mistakes in this way.

[Cathal Mac Donnacha](https://hashnode.com/@cathalmacdonnacha)

[Dec 22, 2021](https://hashnode.com/posts/why-you-should-make-your-tests-fail/61a8d0ff3a275f70aed69091/comment/61c33fb8c0206b3f41f542da#reply-61c34e1dc0206b3f41f54424)

Absolutely! It's saved me countless bugs
