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

Tag

# #unit-test

17 posts · 17 followers

[Muhammad Yafi Alhakim](https://hashnode.com/@yafialhakim) · [Apr 7](https://hashnode.com/posts/testing-the-quality-contract/69d4e0174650dac7a91de3bd)

### [Testing: The "Quality Contract"](https://yafi.hashnode.dev/testing-the-quality-contract?utm_source=hashnode&utm_medium=feed)

Coming from a background of Jest, Vitest, or Mocha, you'll find Rust's built-in testing suite incredibly refreshing. No extra dependencies are needed for basic unit testing! Think of Rust Testing as a Quality Contract. By writing tests, you are "Sign...

2 min read · [yafi.hashnode.dev](https://yafi.hashnode.dev/testing-the-quality-contract?utm_source=hashnode&utm_medium=feed)

[Tech Insights Hub](https://hashnode.com/@JohnMikes) · [Feb 12](https://hashnode.com/posts/jest-testing-unit-test-guide/698e540d8ef9a2d7e01e0127)

### [Jest Testing: Unit Test Guide](https://topperblog.hashnode.dev/jest-testing-unit-test-guide?utm_source=hashnode&utm_medium=feed)

Metadata Block SEO Title: Jest Testing: Unit Test Complete Guide for 2025 Meta Description: Master Jest unit testing with modern TypeScript patterns, async testing strategies, and production-grade examples for scalable JavaScript applications. Primar...

9 min read · [topperblog.hashnode.dev](https://topperblog.hashnode.dev/jest-testing-unit-test-guide?utm_source=hashnode&utm_medium=feed)

[Rad Code](https://hashnode.com/@heyradcode) · [Sep 19, 2025](https://hashnode.com/posts/treat-chatgpt-like-a-junior-dev-helpful-but-needs-review/68cc9ef9cb384618613c356b)

### [Treat ChatGPT Like a Junior Dev: Helpful, But Needs Review](https://heyradcode.hashnode.dev/treat-chatgpt-like-a-junior-dev-helpful-but-needs-review?utm_source=hashnode&utm_medium=feed)

AI coding assistants like ChatGPT are everywhere now. They can scaffold components, generate test cases, and even debug code. But here’s the catch: they’re not senior engineers. They don’t have context of your project history, and they don’t automati...

3 min read · [heyradcode.hashnode.dev](https://heyradcode.hashnode.dev/treat-chatgpt-like-a-junior-dev-helpful-but-needs-review?utm_source=hashnode&utm_medium=feed)

[Achanandhi M](https://hashnode.com/@Achanandhi) · [May 7, 2025](https://hashnode.com/posts/difference-between-pytest-and-unittest/681aec0ea035a202157c8586)

### [What is the difference between Pytest and Unittest](https://community.keploy.io/difference-between-pytest-and-unittest?utm_source=hashnode&utm_medium=feed)

Discover the differences between Pytest and Unittest, two popular Python testing frameworks, to find the best fit for your project needs

5 min read · [community.keploy.io](https://community.keploy.io/difference-between-pytest-and-unittest?utm_source=hashnode&utm_medium=feed)

[roach](https://hashnode.com/@dev-roach) · [May 4, 2025](https://hashnode.com/posts/python-unittest-1-unittestmock-mock/6817127b3332116d366c5601)

### [\[Python unittest - 1\] unittest.mock 으로 Mock 객체 다루기](https://roach-wiki.com/python-unittest-1-unittestmock-mock?utm_source=hashnode&utm_medium=feed)

Master unittest.mock in Python for testing with mock objects, covering patching, side effects, and MagicMock details

9 min read · [roach-wiki.com](https://roach-wiki.com/python-unittest-1-unittestmock-mock?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)

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

[Fullchee Zhang](https://hashnode.com/@Fullchee) · [Apr 19, 2024](https://hashnode.com/posts/unittest-param-order-is-the-opposite-of-jest/66229c5de158a5b300ec6abe)

### [unittest param order is the opposite of Jest](https://fullchee.hashnode.dev/unittest-param-order-is-the-opposite-of-jest?utm_source=hashnode&utm_medium=feed)

which is the opposite order for Jestexpect(myVar).toBe(42) assumes the first is expected, second is actual in the error message. self.assertEqual(expected, actual) self.assertEqual(42, my\_var) PyCharm even displays Expected and Actual Failure Expect...

1 min read · [fullchee.hashnode.dev](https://fullchee.hashnode.dev/unittest-param-order-is-the-opposite-of-jest?utm_source=hashnode&utm_medium=feed)

[Valentin K](https://hashnode.com/@kvalentiin) · [Mar 4, 2024](https://hashnode.com/posts/testing-object-oriented-python-code-strategies-and-tools/65e5cea0e1316d4c8b1ba62e)

### [Testing Object-Oriented Python Code: Strategies and Tools](https://valentink.hashnode.dev/testing-object-oriented-python-code-strategies-and-tools?utm_source=hashnode&utm_medium=feed)

Explore effective strategies and tools for testing Object-Oriented Python code. Discover best practices to ensure the reliability and robustness of Python

8 min read · [valentink.hashnode.dev](https://valentink.hashnode.dev/testing-object-oriented-python-code-strategies-and-tools?utm_source=hashnode&utm_medium=feed)

[Sunny Singh](https://hashnode.com/@devsunnysingh) · [Jul 31, 2022](https://hashnode.com/posts/writing-first-angular-test-and-more/62e5e167430bd1d04a842afc)

### [Writing first Angular test and more](https://98sunny.hashnode.dev/writing-first-angular-test-and-more?utm_source=hashnode&utm_medium=feed)

Understanding how to write Angular test and making the basics strong to further go in depth into Angular testing

7 min read · [98sunny.hashnode.dev](https://98sunny.hashnode.dev/writing-first-angular-test-and-more?utm_source=hashnode&utm_medium=feed)
