---
title: "Discussion on \"Test factories should not have randomness, but... Why?\" | Hashnode"
description: "Discussion on \"Test factories should not have randomness, but... Why?\". Test factories should not have randomness.. but why? \ntldr: Tests should be deterministic\nLong answer: ..."
url: "https://hashnode.com/posts/test-factories-should-not-have-randomness-but-why/65e849fe5814d0c77697f153"
---

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

Discussion

# [Test factories should not have randomness, but... Why?](https://blog.codemanship.dev/test-factories-should-not-have-randomness-but-why?utm_source=hashnode&utm_medium=feed)

Test factories should not have randomness.. but why? tldr: Tests should be deterministic Long answer: ...

Mar 6, 2024 · 2 min read · blog.codemanship.dev  
Read the article

-   [#testing](https://hashnode.com/tag/testing)
-   [#programming-tips](https://hashnode.com/tag/programming-tips)
-   [#software-engineering](https://hashnode.com/tag/software-engineering)
-   [#fixtures](https://hashnode.com/tag/fixtures)
-   [#test-driven-development](https://hashnode.com/tag/test-driven-development)

## Written by

[Pablo Curell Mompo](https://hashnode.com/@pcurell)

@pcurell

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

I code

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
