---
title: "Discussion on \"Unit Testing - The Freedom to fail ❌\" | Hashnode"
description: "Discussion on \"Unit Testing - The Freedom to fail ❌\". In software engineering space, we often face a situation where we developers, demand for full app revamp for numerous reasons. The codebase becomes fragile. More regression bugs popping up after every release. It takes a long time to add new features..."
url: "https://hashnode.com/posts/unit-testing-the-freedom-to-fail/5f43c6c96215cf0714f8a313"
---

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

Discussion

# [Unit Testing - The Freedom to fail ❌](https://manivelnagarajan.hashnode.dev/unit-testing-the-freedom-to-fail?utm_source=hashnode&utm_medium=feed)

In software engineering space, we often face a situation where we developers, demand for full app revamp for numerous reasons. The codebase becomes fragile. More regression bugs popping up after every release. It takes a long time to add new features...

Aug 24, 2020 · 9 min read · manivelnagarajan.hashnode.dev  
Updated Jan 5, 2021  
Read the article

-   [#swift](https://hashnode.com/tag/swift)
-   [#software-engineering](https://hashnode.com/tag/software-engineering)
-   [#unit-testing](https://hashnode.com/tag/unit-testing)

## Written by

[Manivel Nagarajan](https://hashnode.com/@manivelnagarajan)

@manivelnagarajan · Chennai, IN

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

Lead iOS Engineer at Freshworks

I'm a software engineer, committed to practicing software craftspersonship and deliver apps that are clean, scalable, testable, and maintainable. Swift, Objective C, Unit testing, JavaScript, Node.js, Express.js, React.js, SQLite &amp; MongoDB

## Responses 4

Markdown supported · ⌘↵ to post

[Gopinath](https://hashnode.com/@Gopi)

[Aug 30, 2020](https://hashnode.com/posts/unit-testing-the-freedom-to-fail/5f43c6c96215cf0714f8a313/comment/5f4b54163a844e5996537417)

Excellent knowledge sharing. It was simple and easy to understand

[Manivel Nagarajan](https://hashnode.com/@manivelnagarajan)

[Aug 31, 2020](https://hashnode.com/posts/unit-testing-the-freedom-to-fail/5f43c6c96215cf0714f8a313/comment/5f4b54163a844e5996537417#reply-5f4d002e93446270c642f9b9)

Thank you, Gopinath!

[Rahul Baskaran](https://hashnode.com/@Rahulbaskaran)

[Aug 30, 2020](https://hashnode.com/posts/unit-testing-the-freedom-to-fail/5f43c6c96215cf0714f8a313/comment/5f4afa5ef540845bb26efcf6)

Hi Manivel, that was articulated real nicely. As a product designer/manager revamping the entire product/project can be a daunting prospect and big responsibility to bear. We have to do it anyway due to a number of reasons such as a change in user behavior, badly organized data, design inconsistencies and confusing messaging makes for terrible user experience. The importance of unit testing as you suggested helps the Engineering team focus on coding and testing without a lot of distraction; this tends to work well for Waterfall development shops with long lifecycles.

But dude seriously? I couldn't believe you have added a Vadivel meme in your tech blog. It was a nice touch though. I appreciate the effort you tried to bring in the humor element in the article, and boy it worked well.

[Manivel Nagarajan](https://hashnode.com/@manivelnagarajan)

[Aug 30, 2020](https://hashnode.com/posts/unit-testing-the-freedom-to-fail/5f43c6c96215cf0714f8a313/comment/5f4afa5ef540845bb26efcf6#reply-5f4b4b14f540845bb26efed1)

Thank you, Rahul

Revamping is not a bearable solution even in cases like change in data design and UI/UX changes. We can avoid such situations by building the system in such a way that these modules are independent. Even if you want to change the entire design of the app, we should be able to plug out the UI module alone from the system and plug-in the new UI module. It also gives us the chance to reuse the core features of your product, across the platforms. For e.g, iOS, macOS, and tvOS can share the feature modules.

Software with good design comes with many fruitfulness.

[Bolaji Ayodeji](https://hashnode.com/@bolajiayodeji)

[Aug 25, 2020](https://hashnode.com/posts/unit-testing-the-freedom-to-fail/5f43c6c96215cf0714f8a313/comment/5f44f74bd45d69130b807977)

Very insightful 💙

[Manivel Nagarajan](https://hashnode.com/@manivelnagarajan)

[Aug 25, 2020](https://hashnode.com/posts/unit-testing-the-freedom-to-fail/5f43c6c96215cf0714f8a313/comment/5f44f74bd45d69130b807977#reply-5f453c13d36f0b18d47c425d)

Thank you, Bolaji

[Revanth Kausikan](https://hashnode.com/@RevanthKausikan)

[Aug 25, 2020](https://hashnode.com/posts/unit-testing-the-freedom-to-fail/5f43c6c96215cf0714f8a313/comment/5f44a768e5215909d82edf3c)

Very informative and fun to read at the same time!

[Manivel Nagarajan](https://hashnode.com/@manivelnagarajan)

[Aug 25, 2020](https://hashnode.com/posts/unit-testing-the-freedom-to-fail/5f43c6c96215cf0714f8a313/comment/5f44a768e5215909d82edf3c#reply-5f44ac491b2ea309b75294fa)

I'm glad that you had fun as well 😍
