s3cur3 / parameterized_test

A utility for defining eminently readable parameterized (or example-based) tests in Elixir
MIT License
55 stars 2 forks source link

Great initiative #2

Closed thiagoesteves closed 3 months ago

thiagoesteves commented 7 months ago

I have been writing these kind of multiple inputs for the same test body using Macros, but this solution seems very cleaner. I would just suggest another name, like Parameterized Tests or similar.

s3cur3 commented 7 months ago

Thanks for the kind words! I agree it probably needs a name change. πŸ˜… Parameterized tests is accurate, but it's both longer and harder to spell if we make that the primary macro (parameterized_test). πŸ˜•

s3cur3 commented 3 months ago

I settled on calling the package ParameterizedTest, with the macro for using it being param_test. I'm gonna release it as v0.1.0 soon. ☺️