---
title: "Discussion on \"Dependency Injection and Testing\" | Hashnode"
description: "Discussion on \"Dependency Injection and Testing\". Using dependency injection can be great for simplifying your code and keeping it DRY, it can also simplify testing and even improve testability.\nIf you have not started using dependency injection in your app, you may want to take a look at get_it.\nFo..."
url: "https://hashnode.com/posts/dependency-injection-and-testing-9356069706c8/60dd389295305075b9338a0b"
---

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

Discussion

# [Dependency Injection and Testing](https://remelehane.dev/dependency-injection-and-testing-9356069706c8?utm_source=hashnode&utm_medium=feed)

Using dependency injection can be great for simplifying your code and keeping it DRY, it can also simplify testing and even improve testability. If you have not started using dependency injection in your app, you may want to take a look at get\_it. Fo...

Aug 17, 2020 · 3 min read · remelehane.dev  
Updated Jul 12, 2021  
Read the article

-   [#flutter](https://hashnode.com/tag/flutter)
-   [#unit-testing](https://hashnode.com/tag/unit-testing)
-   [#tdd](https://hashnode.com/tag/tdd)

## Written by

[Reme Le Hane](https://hashnode.com/@remelehane)

@remelehane · South Africa

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

Flutter Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
