All Versions
9
Latest Version
Avg Release Cycle
125 days
Latest Release
1120 days ago
Changelog History
Changelog History
-
v0.5.0 Changes
May 03, 2020- Slightly improve the shrinking algorigthm.
- Add
StreamData.map_of/2
. - Fix a bug around the
:max_shrinking_steps
option. - Fix a runtime warning with Elixir 1.10.
-
v0.4.3 Changes
April 01, 2019- Improve the frequency of terms in
StreamData.term/0
- Fix a bug in
StreamData.positive_integer/0
that would crash with a genration size of0
. - Support inline
, do:
ingen all
andcheck all
. - Support
:initial_seed
incheck all
. - Export formatter configuration for
check all
andgen all
. - Add
StreamData.seeded/2
.
- Improve the frequency of terms in
-
v0.4.2 Changes
March 07, 2018- Fix a bug when shrinking boolean values generated with
StreamData.boolean/0
- Fix a bug when shrinking boolean values generated with
-
v0.4.1 Changes
February 09, 2018- Import all functions/macros from
ExUnitProperties
whenuse
d - Various optimizations
- Add the
:max_run_time
configuration option to go together with:max_runs
- Add support for
:do
syntax ingen all
/check all
- Import all functions/macros from
-
v0.4.0 Changes
January 09, 2018- Add a
StreamData.term/0
generator - Bump the number of allowed consecutive failures in
StreamData.filter/3
andStreamData.bind_filter/3
- Improve error message for
StreamData.filter/3
- Add
ExUnitProperties.pick/1
- Add
Enumerable.slice/1
toStreamData
structs - Improve the performance of
StreamData.bitstring/1
๐ฅ Breaking changes
- Remove
StreamData.unquoted_atom/0
in favour ofStreamData.atom(:unquoted | :alias)
- Start behaving like filtering when patterns don't match in
check all
orgen all
- Remove special casing of
=
clauses incheck all
andgen all
- Introduce
StreamData.float/1
replacingStreamData.uniform_float/0
- Add a
-
v0.3.0 Changes
September 19, 2017- Add length-related options to
StreamData.string/2
- Introduce
StreamData.positive_integer/0
- Raise a better error message on invalid generators
- Fix the
StreamData.t/0
type - Add support for
rescue/catch/after
inExUnitProperties.property/2,3
- Introduce
StreamData.optional_map/1
- Add support for keyword lists as argument to
StreamData.fixed_map/1
๐ฅ Breaking changes
- Change the arguments to
StreamData.string/2
so that it can take:ascii
,:alphanumeric
,:printable
, a range, or a list of ranges or single codepoints - Rename
PropertyTest
toExUnitProperties
and introduceuse ExUnitProperties
to use in tests that use property-based testing
- Add length-related options to
-
v0.2.0 Changes
August 21, 2017- Add length-related options to
StreamData.list_of/2
,StreamData.uniq_list_of/1
,StreamData.binary/1
- Add a
StreamData.bitstring/1
generator
๐ฅ Breaking changes
- Remove
StreamData.string_from_chars/1
,StreamData.ascii_string/0
, andStreamData.alphanumeric_string/0
in favour ofStreamData.string/1
- Rename
StreamData.non_empty/1
toStreamData.nonempty/1
- Rename
StreamData.int/0,1
toStreamData.integer/0,1
- Rename
StreamData.no_shrink/
toStreamData.unshrinkable/1
- Remove
StreamData.uniq_list_of/3
in favour ofStreamData.uniq_list_of/2
(which takes options)
- Add length-related options to
-
v0.1.1 Changes
August 14, 2017- Fix a bug with
check all
syntax where it wouldn't work with assignments in the clauses.
- Fix a bug with
-
v0.1.0
August 11, 2017