---
title: "Discussion on \"Making the monolith testable\" | Hashnode"
description: "Discussion on \"Making the monolith testable\". To write reproducible and isolated tests, we need two things :\n\nIsolate global mutable state to the same scope as the test. Either the state can be scoped to the test or the test needs to isolate that global state.\nControl the inputs and outputs of a..."
url: "https://hashnode.com/posts/making-the-monolith-testable/6251b8ea75dccb6f3431e429"
---

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

Discussion

# [Making the monolith testable](https://byteauthor.com/making-the-monolith-testable?utm_source=hashnode&utm_medium=feed)

To write reproducible and isolated tests, we need two things : Isolate global mutable state to the same scope as the test. Either the state can be scoped to the test or the test needs to isolate that global state. Control the inputs and outputs of a...

Apr 9, 2022 · 4 min read · byteauthor.com  
Read the article

-   [#testing](https://hashnode.com/tag/testing)
-   [#tdd](https://hashnode.com/tag/tdd)
-   [#software-architecture](https://hashnode.com/tag/software-architecture)
-   [#system-architecture](https://hashnode.com/tag/system-architecture)

## Written by

[Kevin Coulombe](https://hashnode.com/@Stonkie)

@Stonkie · Montréal, Québec

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

I code, teach and brew!

I mostly do concurrent programming and architecture with a focus on modernizing legacy software. But I like to do a bit of yak shaving on the weekend...

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
