--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/3581cdf4-4d23-41d1-afaa-151995e450f8n%40googlegroups.com.
I agree with Shane.
If you want to do this in your test suite (without a clean VM),
I'd recommend creating an Elixir library that abstracts the
`1..rerun_count |> Enum.each(current_test_function)`
functionality that you require.
I think that would be a better way to allow people that really
want it to use this technique,
while not implicitly encouraging people to resort to this logic in
the way it would do when it were added as a built-in ExUnit
feature.
~Marten
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAJ4ekQvmO_sO-QuqbxAbaOZc_Y8PVx7t64PFWU40YSk4ttordg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/00dff9ce-fa83-4d20-8b98-d2ef1cb66ae5n%40googlegroups.com.
Basically, if something isn’t going to help users of the tool in the long run, it shouldn’t be made easier to do. Yes, it is time intensive _now_ to find and fix things difficult situations like race conditions, but by ignoring them you’re both going to make it harder to find and fix later on, as well as decreasing the quality of your tests until they are properly fixed.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAGowJcgrLRT7_njz3673jqPM7a_nLQO4UPFesJenfq3S_zL-Mw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAJ4ekQuj8g8Eb8eReKQS9gTKa8d%2BC8HLC%2B0H9k%3DzGBJxqZDGTA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAGowJcgOoYTj8Y9kBapEo-ZcxAt0w3DbbVj0ZXzCs9WPGO9x_w%40mail.gmail.com.