---
title: "Discussion on \"Easily Create Mock Data for Unit Tests\" | Hashnode"
description: "Discussion on \"Easily Create Mock Data for Unit Tests\". In this article, I will show you how to improve your unit tests with the use of the builder design pattern. I will use it to solve one of the hardest problems when writing unit tests: creating mock data. Mock data created using the builder pattern wi..."
url: "https://hashnode.com/posts/easily-create-mock-data-for-unit-tests/60379cf43d13f95841a57678"
---

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

Discussion

# [Easily Create Mock Data for Unit Tests](https://kaca.hashnode.dev/easily-create-mock-data-for-unit-tests?utm_source=hashnode&utm_medium=feed)

In this article, I will show you how to improve your unit tests with the use of the builder design pattern. I will use it to solve one of the hardest problems when writing unit tests: creating mock data. Mock data created using the builder pattern wi...

Feb 25, 2021 · 12 min read · kaca.hashnode.dev  
Read the article

-   [#programing](https://hashnode.com/tag/programing)
-   [#net](https://hashnode.com/tag/net)
-   [#csharp](https://hashnode.com/tag/csharp)
-   [#testing](https://hashnode.com/tag/testing)
-   [#unit-testing](https://hashnode.com/tag/unit-testing)

## Written by

[Dino Kacavenda](https://hashnode.com/@kaca)

@kaca · Croatia, Zagreb

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

Full Stack Developer

Full Stack Engineer with a Master's degree in Computing, with more than 5 years experience in developing enterprise-level applications.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
