Unit Testing, Property Testing, Elixir Language, Elixirlang, Refactoring.
[random_string(), random_atom(), random_int()] |> Enum.random() end defp random_string() do [Faker.Lorem.sentence(), Faker.Lorem.word()] end defp random_atom() do Faker.Lorem.word() |> String.to_atom() end defp random_int() do :random.uniform(10000) end So we have a little randomization, and we’re