doc: Randex – randex v0.4.0
github: GitHub - ananthakumaran/randex: An Elixir library to generate random strings that match the given Regex · GitHub
1 Like
Oh hey, this would be awesome to use with stream_data or proper if we can seed it properly. ![]()
property "starts with cat" do
check all cat <- Randex.stream(~r/cat \w/, mod: Randex.Generator.StreamData) do
assert String.starts_with?(cat, "cat")
end
end
It does have stream_data based generator.
2 Likes


















