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

Tag

# #unit-tests

55 posts · 32 followers

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

[Learn with HJ](https://hashnode.com/@hardeepjethwani) · [Jul 11](https://hashnode.com/posts/ai-test-generation-great-servant-suspicious-master/6a526261c6dd7c3299d1420a)

### [AI Test Generation: Great Servant, Suspicious Master](https://hardeepjethwani.hashnode.dev/ai-test-generation-great-servant-suspicious-master?utm_source=hashnode&utm_medium=feed)

Show how to generate useful tests while avoiding shallow assertion theater.

6 min read · [hardeepjethwani.hashnode.dev](https://hardeepjethwani.hashnode.dev/ai-test-generation-great-servant-suspicious-master?utm_source=hashnode&utm_medium=feed)

[Kit Ong](https://hashnode.com/@kitong) · [Jan 21](https://hashnode.com/posts/pulumi-vs-terraform-why-so-many-developers-are-warming-to-pulumi-and-when-terraform-still-wins/697091fbd44d9a07773e7511)

### [Pulumi vs Terraform: why so many developers are warming to Pulumi (and when Terraform still wins)](https://kitong.hashnode.dev/pulumi-vs-terraform-why-so-many-developers-are-warming-to-pulumi-and-when-terraform-still-wins?utm_source=hashnode&utm_medium=feed)

This article explains why many developers are choosing Pulumi (and when Terraform is still the better choice) TL;DR Pulumi and Terraform both solve Infrastructure as Code well, but they optimise for different people. Terraform is great when you want ...

3 min read · [kitong.hashnode.dev](https://kitong.hashnode.dev/pulumi-vs-terraform-why-so-many-developers-are-warming-to-pulumi-and-when-terraform-still-wins?utm_source=hashnode&utm_medium=feed)

[Uday Kiran Reddy](https://hashnode.com/@udayreddy2626) · [Oct 19, 2025](https://hashnode.com/posts/using-vibe-coding-for-unit-test-cases-and-observability/68f4562275015912c0942faa)

### [Using Vibe Coding for Unit Test Cases and Observability](https://blog.zysec.ai/using-vibe-coding-for-unit-test-cases-and-observability?utm_source=hashnode&utm_medium=feed)

Improve efficiency with vibe coding: enhance reliability, reduce debugging, and integrate observability seamlessly

12 min read · [blog.zysec.ai](https://blog.zysec.ai/using-vibe-coding-for-unit-test-cases-and-observability?utm_source=hashnode&utm_medium=feed)

[Abhay](https://hashnode.com/@abhayit2000) · [Feb 13, 2025](https://hashnode.com/posts/everything-you-need-to-know-about-unit-test-automation/67adae3805124ea0e2f15254)

### [Everything You Need To Know About Unit Test Automation](https://abhayit2000.hashnode.dev/everything-you-need-to-know-about-unit-test-automation?utm_source=hashnode&utm_medium=feed)

Unit test automation uses specialized software to conduct and manage unit tests automatically. A unit test involves testing individual components of an app to ensure each part functions correctly. Typically, these units are the smallest testable part...

6 min read · [abhayit2000.hashnode.dev](https://abhayit2000.hashnode.dev/everything-you-need-to-know-about-unit-test-automation?utm_source=hashnode&utm_medium=feed)

[Steve Wortham](https://hashnode.com/@Testingjournal) · [Oct 28, 2024](https://hashnode.com/posts/what-is-unit-testing-a-complete-guide-with-examples/671f5f6cbf300152c21e98a1)

### [What Is Unit Testing: A Complete Guide With Examples](https://stevewortham.hashnode.dev/what-is-unit-testing-a-complete-guide-with-examples?utm_source=hashnode&utm_medium=feed)

Testing is one of the most important components of any software development lifecycle. The more frequently you test, the earlier you catch any bugs.

11 min read · [stevewortham.hashnode.dev](https://stevewortham.hashnode.dev/what-is-unit-testing-a-complete-guide-with-examples?utm_source=hashnode&utm_medium=feed)

[Lasse R.](https://hashnode.com/@lasserafn) · [Oct 16, 2024](https://hashnode.com/posts/10-code-review-metrics-to-improve-code-quality/670fdf012d7210133e460f56)

### [10 Code Review Metrics to Improve Code Quality](https://lassetech.hashnode.dev/10-code-review-metrics-to-improve-code-quality?utm_source=hashnode&utm_medium=feed)

10 Code Review Metrics to Improve Code Quality Want to boost your code quality? Here are 10 key metrics to track: Code coverage Cyclomatic complexity Code churn Review turnaround time Defect density Code duplication Comment density Pull reque...

9 min read · [lassetech.hashnode.dev](https://lassetech.hashnode.dev/10-code-review-metrics-to-improve-code-quality?utm_source=hashnode&utm_medium=feed)

[Davide Bellone](https://hashnode.com/@davidebellone) · [Aug 28, 2024](https://hashnode.com/posts/why-reaching-100-code-coverage-must-not-be-your-testing-goal-with-examples-in-c/66cefa886ffb3c281cee50ee)

### [Why reaching 100% Code Coverage must NOT be your testing goal (with examples in C#)](https://code4it.hashnode.dev/why-reaching-100-code-coverage-must-not-be-your-testing-goal-with-examples-in-c?utm_source=hashnode&utm_medium=feed)

Code Coverage is a valuable metric in software development, especially when it comes to testing. It provides insights into how much of your codebase is exercised by your test suite. However, we must recognize that Code Coverage alone should not be th...

8 min read · [code4it.hashnode.dev](https://code4it.hashnode.dev/why-reaching-100-code-coverage-must-not-be-your-testing-goal-with-examples-in-c?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/why-reaching-100-code-coverage-must-not-be-your-testing-goal-with-examples-in-c/66cefa886ffb3c281cee50ee)

[Bonaroo](https://hashnode.com/@roberthopman) · [Jul 15, 2024](https://hashnode.com/posts/building-nodejs-applications-without-dependencies/6695218a128cfa226024c7dc)

### [Building NodeJS applications without dependencies](https://charperbonaroo.hashnode.dev/building-nodejs-applications-without-dependencies?utm_source=hashnode&utm_medium=feed)

Introduction I’m going to build a twitter clone using NodeJS, but without any dependencies. I’ve written many Node applications using dependencies like express, jest, lodash, webpack, typescript, typeorm and many more. My applications can have tens o...

9 min read · [charperbonaroo.hashnode.dev](https://charperbonaroo.hashnode.dev/building-nodejs-applications-without-dependencies?utm_source=hashnode&utm_medium=feed)

[Chirag Choudhary](https://hashnode.com/@chirag200666) · [Jun 1, 2024](https://hashnode.com/posts/how-we-mastered-unit-testing-at-our-startup/6665b73bc378b7e84bdd6f60)

### [How We Mastered Unit Testing at Our Startup](https://blog.chiragc.com/how-we-mastered-unit-testing-at-our-startup?utm_source=hashnode&utm_medium=feed)

Problem Statement: At a startup where I joined as the 4th engineer, we faced a production issue every other weekend, which would be every 4th release, primarily due to new team members lacking context on different workflows. Adding documentation for ...

3 min read · [blog.chiragc.com](https://blog.chiragc.com/how-we-mastered-unit-testing-at-our-startup?utm_source=hashnode&utm_medium=feed)
