# \#property-based-testing

**URL:** https://forum.elixirforum.com/tag/property-based-testing/534.md

[Latest](https://forum.elixirforum.com/latest.md) · [Categories](https://forum.elixirforum.com/categories.md) · [Tags](https://forum.elixirforum.com/tags.md)

---

## [Pitia - On-demand TLA+ model-based testing for Erlang and Elixir](https://forum.elixirforum.com/t/pitia-on-demand-tla-model-based-testing-for-erlang-and-elixir/77619)

<div class="topic-metadata">

**Author:** [@manuel-rubio](https://forum.elixirforum.com/u/manuel-rubio)\
**Replies:** 0\
**Last updated:** [December 3, 2026, 5:37am UTC](https://forum.elixirforum.com/t/pitia-on-demand-tla-model-based-testing-for-erlang-and-elixir/77619 "2026-12-03T05:37:20Z")

</div>

Hi everyone! I’ve just released Pitia (0.1.0, MIT) — a native BEAM library for on-demand TLA+ model-based testing in Elixir and Erlang. Pitia takes its name from the oracle of Delphi. Your specification is the oracle;…

---

## [Aggressive Regression](https://forum.elixirforum.com/t/aggressive-regression/76966)

<div class="topic-metadata">

**Author:** [@mudasobwa](https://forum.elixirforum.com/u/mudasobwa)\
**Replies:** 0\
**Last updated:** [October 7, 2026, 2:24pm UTC](https://forum.elixirforum.com/t/aggressive-regression/76966 "2026-10-07T14:24:57Z")

</div>

I wrote a longread on how do I test code. Everything I gained from 10 years of experience writing code without any testing and 20 years with different kinds of it. Apparently, until now there was no regression-testing …

---

## [PropWise - the library to detect and suggest code deserving property based testing](https://forum.elixirforum.com/t/propwise-the-library-to-detect-and-suggest-code-deserving-property-based-testing/74727)

<div class="topic-metadata">

**Author:** [@mudasobwa](https://forum.elixirforum.com/u/mudasobwa)\
**Replies:** 3\
**Last updated:** [August 18, 2026, 2:13pm UTC](https://forum.elixirforum.com/t/propwise-the-library-to-detect-and-suggest-code-deserving-property-based-testing/74727 "2026-08-18T14:13:28Z")

</div>

Another outcome of Language Agnostic Code Audit SaaS I’m currently working on is a PropWise library. It scans the project content, and does its best on detecting and reporting places suitable for property-based testing,…

---

## [Estructura - set of extensions for Elixir structures](https://forum.elixirforum.com/t/estructura-set-of-extensions-for-elixir-structures/45445)

<div class="topic-metadata">

**Author:** [@mudasobwa](https://forum.elixirforum.com/u/mudasobwa)\
**Replies:** 2\
**Last updated:** [July 26, 2026, 4:49pm UTC](https://forum.elixirforum.com/t/estructura-set-of-extensions-for-elixir-structures/45445 "2026-07-26T16:49:16Z")

</div>

I’m glad to introduce Estructura, the library that equips structs with Access, Enumerable, and Collectable implementations, as well as per-field coercion and validation, and generation of StreamData generator. This is t…

---

## [RockSolid - Data generation from JSON Schema definitions](https://forum.elixirforum.com/t/rocksolid-data-generation-from-json-schema-definitions/75824)

<div class="topic-metadata">

**Author:** [@igoldchluk](https://forum.elixirforum.com/u/igoldchluk)\
**Replies:** 1\
**Last updated:** [June 29, 2026, 2:16pm UTC](https://forum.elixirforum.com/t/rocksolid-data-generation-from-json-schema-definitions/75824 "2026-06-29T14:16:47Z")

</div>

Hi everyone I have been working for a while on RockSolid, a library to generate valid data from JSON schemas. It is built on top of (the awesome) StreamData, so you can use it directly in property tests, or as a data g…

---

## [Igor Ostaptchenko, Detroit MI - Senior/Staff Elixir Engineer, 13 years on the BEAM (Remote US, UTC-5)](https://forum.elixirforum.com/t/igor-ostaptchenko-detroit-mi-senior-staff-elixir-engineer-13-years-on-the-beam-remote-us-utc-5/75029)

<div class="topic-metadata">

**Author:** [@borodark](https://forum.elixirforum.com/u/borodark)\
**Replies:** 0\
**Last updated:** [April 16, 2026, 1:22am UTC](https://forum.elixirforum.com/t/igor-ostaptchenko-detroit-mi-senior-staff-elixir-engineer-13-years-on-the-beam-remote-us-utc-5/75029 "2026-04-16T01:22:03Z")

</div>

Igor Ostaptchenko, Detroit MI — Senior/Staff Elixir Engineer, 13 years on the BEAM (Remote US, UTC-5) About me I have been shipping Elixir and Erlang in production since 2011 — starting with Erlang at Credorax (PCI credi…

---

## [All Talk Videos | BEAM Devroom @ FOSDEM 2024](https://forum.elixirforum.com/t/all-talk-videos-beam-devroom-fosdem-2024/61811)

<div class="topic-metadata">

**Author:** [@rbino](https://forum.elixirforum.com/u/rbino)\
**Replies:** 0\
**Last updated:** [February 22, 2024, 9:01am UTC](https://forum.elixirforum.com/t/all-talk-videos-beam-devroom-fosdem-2024/61811 "2024-02-22T09:01:35Z")

</div>

Hi everyone, here you can find all talks from the BEAM Devroom at FOSDEM 2024. The titles link to the talk page on the FOSDEM website where you can find additional details (author bio, description, slides, etc). Thank…

---

## [Property-based testing on Elixir standard library](https://forum.elixirforum.com/t/property-based-testing-on-elixir-standard-library/60808)

<div class="topic-metadata">

**Author:** [@BradS2S](https://forum.elixirforum.com/u/BradS2S)\
**Replies:** 2\
**Last updated:** [January 7, 2024, 6:39pm UTC](https://forum.elixirforum.com/t/property-based-testing-on-elixir-standard-library/60808 "2024-01-07T18:39:24Z")

</div>

Is the reason that the Elixir codebase doesn’t have any property-based testing because it would be a terrible idea for it to have any dependencies?

---

## [How to approach property-based testing for features which heavily rely on the database?](https://forum.elixirforum.com/t/how-to-approach-property-based-testing-for-features-which-heavily-rely-on-the-database/57975)

<div class="topic-metadata">

**Author:** [@IwoHerka](https://forum.elixirforum.com/u/IwoHerka)\
**Replies:** 3\
**Last updated:** [September 2, 2023, 11:04am UTC](https://forum.elixirforum.com/t/how-to-approach-property-based-testing-for-features-which-heavily-rely-on-the-database/57975 "2023-09-02T11:04:30Z")

</div>

Let’s say I’m writing a (rather typical) application using Ecto, which heavily relies on a database. Most features, let’s say, read from or write to the database. Let’s say I have feature “foo” which reads from multiple…

---

## [Request for code review - property based test](https://forum.elixirforum.com/t/request-for-code-review-property-based-test/30977)

<div class="topic-metadata">

**Author:** [@co0lsky](https://forum.elixirforum.com/u/co0lsky)\
**Replies:** 2\
**Last updated:** [May 5, 2020, 2:09am UTC](https://forum.elixirforum.com/t/request-for-code-review-property-based-test/30977 "2020-05-05T02:09:45Z")

</div>

Greetings! I am relatively new to property-based testing. I am practicing writing property tests and hoping for a code review if any practitioner has any comments or suggestions on the test. defmodule Academy.UserPropTe…

---

## [PropCheck: utf8 generator doesn't seem to respect resize/2](https://forum.elixirforum.com/t/propcheck-utf8-generator-doesnt-seem-to-respect-resize-2/19848)

<div class="topic-metadata">

**Author:** [@aaronrenner](https://forum.elixirforum.com/u/aaronrenner)\
**Replies:** 3\
**Last updated:** [January 23, 2020, 5:58am UTC](https://forum.elixirforum.com/t/propcheck-utf8-generator-doesnt-seem-to-respect-resize-2/19848 "2020-01-23T05:58:34Z")

</div>

I’m going through the examples in Property-Based Testing with PropEr, Erlang, and Elixir in the Custom Generators chapter and I’m unable to make the make the generated bio: utf-8 string grow with the resize function. pr…

---

## [PropCheck "list of minimum two elements"-generator](https://forum.elixirforum.com/t/propcheck-list-of-minimum-two-elements-generator/21232)

<div class="topic-metadata">

**Author:** [@smedegaard](https://forum.elixirforum.com/u/smedegaard)\
**Replies:** 8\
**Last updated:** [January 16, 2020, 1:40am UTC](https://forum.elixirforum.com/t/propcheck-list-of-minimum-two-elements-generator/21232 "2020-01-16T01:40:29Z")

</div>

I’m trying to write property based tests for a Reverse Polish Notation calculator. I’ve implemented the RPN such that it will return an error tuple if you try to push a operator to the stack when the stack has less than…

---

## [ElixirConf 2019: UI Testing is Ruff; Hound Can Help - Vanessa Lee](https://forum.elixirforum.com/t/elixirconf-2019-ui-testing-is-ruff-hound-can-help-vanessa-lee/25369)

<div class="topic-metadata">

**Author:** [@axelson](https://forum.elixirforum.com/u/axelson)\
**Replies:** 0\
**Last updated:** [September 13, 2019, 6:26pm UTC](https://forum.elixirforum.com/t/elixirconf-2019-ui-testing-is-ruff-hound-can-help-vanessa-lee/25369 "2019-09-13T18:26:30Z")

</div>

by @girlsleuth Whether you call it UI testing, End-to-End Testing, End-to-User Testing, or Acceptance Testing–it is often an intensely manual and time-consuming process. An Elixir library, H…

---

## [Property generators make Dialyzer complain, ideas how to make it happy?](https://forum.elixirforum.com/t/property-generators-make-dialyzer-complain-ideas-how-to-make-it-happy/23049)

<div class="topic-metadata">

**Author:** [@dimitarvp](https://forum.elixirforum.com/u/dimitarvp)\
**Replies:** 11\
**Last updated:** [June 12, 2019, 7:36pm UTC](https://forum.elixirforum.com/t/property-generators-make-dialyzer-complain-ideas-how-to-make-it-happy/23049 "2019-06-12T19:36:57Z")

</div>

Hello all, I got a lot of functions like these in a hobby project of mine: @spec optional\_alphanum(pos\_integer) :: %StreamData{} def optional\_alphanum(size) when size \> 0 do gen all str \<- string(\[?A..?Z, ?0..?…

---

## [13) ElixirConf EU 2019 - Introduction to stateful property based testing - Tomasz Kowal](https://forum.elixirforum.com/t/13-elixirconf-eu-2019-introduction-to-stateful-property-based-testing-tomasz-kowal/22454)

<div class="topic-metadata">

**Author:** [@Lawrence\_elixir](https://forum.elixirforum.com/u/Lawrence_elixir)\
**Replies:** 4\
**Last updated:** [May 16, 2019, 10:53pm UTC](https://forum.elixirforum.com/t/13-elixirconf-eu-2019-introduction-to-stateful-property-based-testing-tomasz-kowal/22454 "2019-05-16T22:53:05Z")

</div>

@tomekowal - Software Developer at ClubCollect Introduction to stateful property based testing Talk in three words: Stateful Property-Based Testing Abstract Property-based testing is a technique for wri…

---

## [Configuring StreamData to work with Phoenix and Ecto](https://forum.elixirforum.com/t/configuring-streamdata-to-work-with-phoenix-and-ecto/13868)

<div class="topic-metadata">

**Author:** [@imetallica](https://forum.elixirforum.com/u/imetallica)\
**Replies:** 2\
**Last updated:** [April 25, 2018, 6:03pm UTC](https://forum.elixirforum.com/t/configuring-streamdata-to-work-with-phoenix-and-ecto/13868 "2018-04-25T18:03:15Z")

</div>

Hello folks, I’m trying to generate some payload data to test my controllers in Phoenix, but I always end up with the following problem: {"errors":{"detail":\[{"document":"has already been taken"}\]}} Which is ok, the ge…
