---
title: "Discussion on \"Why Do Developers Write Tests? What a Unit Test Actually Catches Before Your Users Do\" | Hashnode"
description: "Discussion on \"Why Do Developers Write Tests? What a Unit Test Actually Catches Before Your Users Do\". A test is a small promise your code makes to its future self"
url: "https://hashnode.com/posts/why-do-developers-write-tests-what-a-unit-test-actually-catches-before-your-users-do/6aefd1c4369697bc44debc7b"
---

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

Discussion

# [Why Do Developers Write Tests? What a Unit Test Actually Catches Before Your Users Do](https://itsmeminsithu.hashnode.dev/why-do-developers-write-tests-what-a-unit-test-actually-catches-before-your-users-do?utm_source=hashnode&utm_medium=feed)

A test is a small promise your code makes to its future self

Nov 8 · 7 min read · itsmeminsithu.hashnode.dev  
Read the article

-   [#testing](https://hashnode.com/tag/testing)
-   [#unit-testing](https://hashnode.com/tag/unit-testing)
-   [#software-development](https://hashnode.com/tag/software-development)
-   [#beginners](https://hashnode.com/tag/beginners)
-   [#code-quality](https://hashnode.com/tag/code-quality)

## Written by

[Min SiThu](https://hashnode.com/@itsmeminsithu)

@itsmeminsithu · Singapore

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

Software Engineer

Nubbad Developer. | Now I accidentally create problems.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
