Yes, that seems to be a good idea. Thank you.
That’s what I did to get a bit more speed, but I feel less confident with fewer tests.
How would you do that? With an environment variable, like MIX_MAX_RUNS=100 mix test and writing something like this?
defmodule Kakte.AccountsTest
[...]
@max_runs System.get_env("MIX_MAX_RUNS") || 5
property "list_users/0 returns all users" do
# user_attrs/0 is a generator for valid user attributes.
check all attrs_list <- uniq_list_of(user_attrs(), length: 5), max_runs: @max_runs do
[...]
end






















