---
title: "Discussion on \"Testable XState-Machines: Combining XState with Dependency Inversion\" | Hashnode"
description: "Discussion on \"Testable XState-Machines: Combining XState with Dependency Inversion\". Dependency inversion makes it possible to test without executing concrete dependencies. This article explains how the principle can be combined with XState."
url: "https://hashnode.com/posts/xstate-dependency-inversion/6315ca7b04768af286e50640"
---

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

Discussion

# [Testable XState-Machines: Combining XState with Dependency Inversion](https://christoph.hashnode.dev/xstate-dependency-inversion?utm_source=hashnode&utm_medium=feed)

Dependency inversion makes it possible to test without executing concrete dependencies. This article explains how the principle can be combined with XState.

Sep 5, 2022 · 9 min read · christoph.hashnode.dev  
Read the article

-   [#testing](https://hashnode.com/tag/testing)
-   [#design-principles](https://hashnode.com/tag/design-principles)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#xstate](https://hashnode.com/tag/xstate)
-   [#dependency-inversion](https://hashnode.com/tag/dependency-inversion)

## Written by

[Christoph Fricke](https://hashnode.com/@cfr)

@cfr · Hamburg, Germany

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

Software Consultant @ Holisticon AG

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
