bencheeorg / benchee

Easy and extensible benchmarking in Elixir providing you with lots of statistics!
MIT License
1.41k stars 66 forks source link

Is there an option to try all possible scenarios once to know early if some would raise ? #336

Closed lud closed 3 years ago

lud commented 3 years ago

All in title.

I know that if the inputs invoke some side effects scenarios could still raise even if running them once succeeded, but it would be helpful to quickly check if all functions are properly written. In my opinion that option could even be true by default.

Thank you.

devonestes commented 3 years ago

@lud Yes there is - it's the pre_check configuration option, described here: https://hexdocs.pm/benchee/readme.html#configuration

lud commented 3 years ago

Gosh, totally missed it. Thank you !