---
title: "Discussion on \"xUnit - Cleaning side effects\" | Hashnode"
description: "Discussion on \"xUnit - Cleaning side effects\". I have been working with the file system last few days. As a part of this work, I create directories and files in the file system using code. When it came to unit testing my code, I used the System.IO.Abstractions.TestingHelpers library to mock the f..."
url: "https://hashnode.com/posts/xunit-cleaning-side-effects/6184da3310d639095ac87253"
---

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

Discussion

# [xUnit - Cleaning side effects](https://dilanlivera.dev/xunit-cleaning-side-effects?utm_source=hashnode&utm_medium=feed)

I have been working with the file system last few days. As a part of this work, I create directories and files in the file system using code. When it came to unit testing my code, I used the System.IO.Abstractions.TestingHelpers library to mock the f...

Nov 5, 2021 · 2 min read · dilanlivera.dev  
Read the article

-   [#unit-tests](https://hashnode.com/tag/unit-tests)
-   [#dotnet](https://hashnode.com/tag/dotnet)
-   [#testing](https://hashnode.com/tag/testing)

## Written by

[Dilan Livera](https://hashnode.com/@dilan-livera)

@dilan-livera

  
[View profile](https://hashnode.com/@dilan-livera)

.Net and React developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
