# StreamData

> Data generation and property-based testing for Elixir

Source: https://talira.ai/catalog/streamdata-jwqfg2vs
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [developer tools / testing / property based](https://talira.ai/categories/developer-tools/testing/property-based), [languages / elixir](https://talira.ai/categories/languages/elixir)
- Licence: Apache-2.0[^1][^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Andrea Leopardi](https://talira.ai/orgs/andrea-leopardi.md)

StreamData is an Elixir library for data generation and property-based testing. Its `StreamData` module provides generators, and functions to combine them into custom ones, that are ordinary Elixir enumerables, so they also work as infinite streams of random data outside tests. Its `ExUnitProperties` module adds `property` and `check all` to ExUnit, generating inputs that try to falsify a property. It's inspired by the original [QuickCheck](https://talira.ai/catalog/quickcheck-ms7ypda7.md) paper and Clojure's test.check. Unlike PropEr, it has no stateful property-based testing and doesn't store counter-examples in a file.

## Links

- GitHub: https://github.com/whatyouhide/stream_data
- Docs: https://hexdocs.pm/stream_data/

## Problems it solves

- write property-based tests for my Elixir functions
- generate random test data in Elixir
- find edge cases my hand-written ExUnit examples miss

## Features

- generators that are Elixir enumerables, usable as random data streams
- functions to combine generators into custom ones
- ExUnitProperties: property and check all for ExUnit tests

## Limitations

- No stateful property-based testing, and failing counter-examples aren't stored in a file: you reuse the seed to reproduce one.[^1]

## Trust

Overall: 0.42 out of 1.
Signals: maintenance 0.46, adoption 0.60, momentum 0.29, community 0.68, backing 0.30, extensibility 0.00.

- last commit 2 months ago
- 1 commits in the last 90 days
- 953 GitHub stars
- 48 contributors
- accepts sponsorship (Github)
- backed by Andrea Leopardi

## Sources

[^1]: https://github.com/whatyouhide/stream_data/blob/main/README.md (checked 28 Nov 2026)
[^2]: https://github.com/whatyouhide/stream_data/blob/main/mix.exs (checked 28 Nov 2026)
