---
title: "#unit-testing articles | Hashnode"
description: "Explore 785 articles tagged #unit-testing on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/unit-testing"
---

Tag

# #unit-testing

785 posts · 157 followers

[Adam Jaber](https://hashnode.com/@adamjaber) · [18h ago](https://hashnode.com/posts/mutation-testing-tests-that-cannot-fail/6af3eb9ceef613df6becb903)

### [Mutation Testing, Explained: How to Know If Your Tests Can Actually Fail](https://simplyexplained.hashnode.dev/mutation-testing-tests-that-cannot-fail?utm_source=hashnode&utm_medium=feed)

100% coverage can still ship the bug. Five tests that can't fail, why AI writes them, and a 15-minute Sabotage Test to find them.

11 min read · [simplyexplained.hashnode.dev](https://simplyexplained.hashnode.dev/mutation-testing-tests-that-cannot-fail?utm_source=hashnode&utm_medium=feed)

[Min SiThu](https://hashnode.com/@itsmeminsithu) · [3d ago](https://hashnode.com/posts/why-do-developers-write-tests-what-a-unit-test-actually-catches-before-your-users-do/6aefd1c4369697bc44debc7b)

### [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

7 min read · [itsmeminsithu.hashnode.dev](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)

[Patrick Kearns](https://hashnode.com/@fullstackcity) · [Nov 3](https://hashnode.com/posts/why-i-choose-archguard-net-for-a-modular-monolith-with-vertical-slices/6aea3d8cf356d2870ce04bff)

### [Why I Choose ArchGuard.NET for a Modular Monolith with Vertical Slices](https://dotnetdigest.com/why-i-choose-archguard-net-for-a-modular-monolith-with-vertical-slices?utm_source=hashnode&utm_medium=feed)

A small API, built-in rules for modular monoliths and vertical slices, and a baseline feature that lets you record existing violations.

12 min read · [dotnetdigest.com](https://dotnetdigest.com/why-i-choose-archguard-net-for-a-modular-monolith-with-vertical-slices?utm_source=hashnode&utm_medium=feed)

[Naman Verma](https://hashnode.com/@explorers) · [Oct 22](https://hashnode.com/posts/real-developers-test-in-production-but-should-they/6ad9fa74717137b0bfd0d348)

### [“Real Developers Test in Production.” But Should They?](https://explorers0509.hashnode.dev/real-developers-test-in-production-but-should-they?utm_source=hashnode&utm_medium=feed)

Build a small Go application with PostgreSQL, explore unit, integration, and regression testing, and use Keploy to record and replay API tests.

13 min read · [explorers0509.hashnode.dev](https://explorers0509.hashnode.dev/real-developers-test-in-production-but-should-they?utm_source=hashnode&utm_medium=feed)

[Xccelera AI](https://hashnode.com/@xccelera) · [Oct 12](https://hashnode.com/posts/building-an-automated-validation-and-unit-testing-layer-for-ai-generated-code/6acccb938c142ed8305bab08)

### [Building an Automated Validation and Unit Testing Layer for AI-Generated Code](https://xccelera.hashnode.dev/building-an-automated-validation-and-unit-testing-layer-for-ai-generated-code?utm_source=hashnode&utm_medium=feed)

Build an automated validation and unit testing layer that separates generation from verification and blocks failing AI-generated code from release.

7 min read · [xccelera.hashnode.dev](https://xccelera.hashnode.dev/building-an-automated-validation-and-unit-testing-layer-for-ai-generated-code?utm_source=hashnode&utm_medium=feed)

[Ciphemic academia](https://hashnode.com/@ciphemicacademia) · [Oct 12](https://hashnode.com/posts/unit-vs-integration-vs-end-to-end-testing-the-125-million-bug-between-two-components/6acc3608fc66586117986c8d)

### [Unit vs. Integration vs. End-to-End Testing: The $125 Million Bug Between Two Components](https://ciphemicacademia.hashnode.dev/unit-vs-integration-vs-end-to-end-testing-the-125-million-bug-between-two-components?utm_source=hashnode&utm_medium=feed)

A $125M spacecraft was lost between two working components. How unit, integration, and end-to-end tests each catch different bugs.

14 min read · [ciphemicacademia.hashnode.dev](https://ciphemicacademia.hashnode.dev/unit-vs-integration-vs-end-to-end-testing-the-125-million-bug-between-two-components?utm_source=hashnode&utm_medium=feed)

[rajveer](https://hashnode.com/@reqlens) · [Sep 29](https://hashnode.com/posts/testing-refund-approval-thresholds-below-exactly-at-and-above/6abba6b5f338d9e63097799c)

### [Testing refund approval thresholds: below, exactly at and above](https://reqlens.hashnode.dev/testing-refund-approval-thresholds-below-exactly-at-and-above?utm_source=hashnode&utm_medium=feed)

Test refund approval thresholds with acceptance criteria, boundary values and Python examples. Catch errors below, at and above the limit.

5 min read · [reqlens.hashnode.dev](https://reqlens.hashnode.dev/testing-refund-approval-thresholds-below-exactly-at-and-above?utm_source=hashnode&utm_medium=feed)

[Mehrad](https://hashnode.com/@mehradsadeghi) · [Sep 27](https://hashnode.com/posts/backend-automated-testing/6ab9201cf2b647f488bef377)

### [Automated Testing in Backend Development: A Complete Guide from Unit Tests to Fuzz Testing](https://mehradsadeghi.hashnode.dev/backend-automated-testing?utm_source=hashnode&utm_medium=feed)

A professional guide to Backend Automated Testing, covering Unit, Integration, Feature, Contract, E2E, Characterization, and Performance Testing.

28 min read · [mehradsadeghi.hashnode.dev](https://mehradsadeghi.hashnode.dev/backend-automated-testing?utm_source=hashnode&utm_medium=feed)

[Keith Arters](https://hashnode.com/@karters) · [Sep 20](https://hashnode.com/posts/front-end-unit-testing-a-practical-guide-for-reliable-web-releases/6aafeef137d2559164beea71)

### [Front End Unit Testing: A Practical Guide for Reliable Web Releases](https://qaguardian.hashnode.dev/front-end-unit-testing-a-practical-guide-for-reliable-web-releases?utm_source=hashnode&utm_medium=feed)

Front end unit testing in practice: pick the test boundary, write deterministic component tests, and connect Playwright coverage to staging CI.

10 min read · [qaguardian.hashnode.dev](https://qaguardian.hashnode.dev/front-end-unit-testing-a-practical-guide-for-reliable-web-releases?utm_source=hashnode&utm_medium=feed)

[Coding Droplets](https://hashnode.com/@codingdroplets) · [Sep 12](https://hashnode.com/posts/mock-ichatclient-unit-tests-dotnet/6aa53eee230871222bb3e2de)

### [How to Unit Test IChatClient in .NET Without Calling a Real Model](https://codingdroplets.com/mock-ichatclient-unit-tests-dotnet?utm_source=hashnode&utm_medium=feed)

Unit test IChatClient in .NET without hitting a real LLM. Build a fake chat client, assert prompts, and keep AI endpoint tests fast and deterministic.

10 min read · [codingdroplets.com](https://codingdroplets.com/mock-ichatclient-unit-tests-dotnet?utm_source=hashnode&utm_medium=feed)
