v0.1.0
-
Renamed the package to
ParameterizedTest
, with the accompanying macroparam_test
. (Why notparameterized_test
? It's longer, harder to spell, and there are a lot of other accepted spellings, including "parameterised," "parametrized," and "parametrised.") -
Added support for hand-rolled lists of parameters, like:
param_test "shipping policy matches the web site", [ # Items in the parameters list can be either maps... %{spending_by_category: %{pants: 29_99}, coupon: "FREE_SHIP"}, # ...or keyword lists [spending_by_category: %{shoes: 19_99, pants: 29_99}, coupon: nil] ], %{spending_by_category: spending_by_category, coupon: coupon} do ... end
-
Added experimental support for populating test parameters from CSV and TSV files. Eventually I'd like to extend this to other sources like Notion documents. (Feedback welcome—just open an issue!)