- Add
StreamData.date/0andStreamData.date/1. - Add
StreamData.nullable/2. - Add
:inspect_optsconfig for the:stream_dataapplication (documented inExUnitProperties).
- Add
StreamData.shuffle/1.
- Fix compilation warnings with current Elixir version (1.18) and upcoming Elixir version.
- Fix one more Elixir 1.17 warning.
- Add warnings-free support for Elixir 1.17.
- Drop support for Elixir 1.11 and lower, require Elixir 1.12+ now.
No changes. This is just the 1.0 release. Happy fuzzying!
- Consider max chars when generating atoms.
- Fix some small issues in
StreamData.nonempty_improper_list_of/2.
- Add
StreamData.non_negative_integer/0. - Add
StreamData.repeatedly/1. - Add
StreamData.chardata/0. - Add
StreamData.codepoint/1. - Add support for not implemented properties (which are just
property "some name", without ado//endbody). This is on par with ExUnit'stest/1. - Add support for stepped ranges in
StreamData.integer/1. - Add support for required keys in
StreamData.optional_map/2. - Add
:utf8option inStreamData.string/1.
- Slightly improve the shrinking algorigthm.
- Add
StreamData.map_of/2. - Fix a bug around the
:max_shrinking_stepsoption. - Fix a runtime warning with Elixir 1.10.
- Improve the frequency of terms in
StreamData.term/0 - Fix a bug in
StreamData.positive_integer/0that would crash with a generation size of0. - Support inline
, do:ingen allandcheck all. - Support
:initial_seedincheck all. - Export formatter configuration for
check allandgen all. - Add
StreamData.seeded/2.
- Fix a bug when shrinking boolean values generated with
StreamData.boolean/0
- Import all functions/macros from
ExUnitPropertieswhenused - Various optimizations
- Add the
:max_run_timeconfiguration option to go together with:max_runs - Add support for
:dosyntax ingen all/check all
- Add a
StreamData.term/0generator - Bump the number of allowed consecutive failures in
StreamData.filter/3andStreamData.bind_filter/3 - Improve error message for
StreamData.filter/3 - Add
ExUnitProperties.pick/1 - Add
Enumerable.slice/1toStreamDatastructs - Improve the performance of
StreamData.bitstring/1
- Remove
StreamData.unquoted_atom/0in favour ofStreamData.atom(:unquoted | :alias) - Start behaving like filtering when patterns don't match in
check allorgen all - Remove special casing of
=clauses incheck allandgen all - Introduce
StreamData.float/1replacingStreamData.uniform_float/0
- 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/0type - Add support for
rescue/catch/afterinExUnitProperties.property/2,3 - Introduce
StreamData.optional_map/1 - Add support for keyword lists as argument to
StreamData.fixed_map/1
- Change the arguments to
StreamData.string/2so that it can take:ascii,:alphanumeric,:printable, a range, or a list of ranges or single codepoints - Rename
PropertyTesttoExUnitPropertiesand introduceuse ExUnitPropertiesto use in tests that use property-based testing
- Add length-related options to
StreamData.list_of/2,StreamData.uniq_list_of/1,StreamData.binary/1 - Add a
StreamData.bitstring/1generator
- Remove
StreamData.string_from_chars/1,StreamData.ascii_string/0, andStreamData.alphanumeric_string/0in favour ofStreamData.string/1 - Rename
StreamData.non_empty/1toStreamData.nonempty/1 - Rename
StreamData.int/0,1toStreamData.integer/0,1 - Rename
StreamData.no_shrink/toStreamData.unshrinkable/1 - Remove
StreamData.uniq_list_of/3in favour ofStreamData.uniq_list_of/2(which takes options)
- Fix a bug with
check allsyntax where it wouldn't work with assignments in the clauses.