s3cur3 / parameterized_test

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

Support for examples in separate file or store #5

Open modellurgist opened 2 months ago

modellurgist commented 2 months ago

Thinking of csv, Airtable, or even sqlite. Anything that opens the possibility to expose the examples to others for viewing or (reviewed) editing.

Not quite property-based testing, but I could also see a place for test case generation (via custom generator) that could populate such a data store of test examples.

s3cur3 commented 1 week ago

v0.1.0 adds very experimental support for CSV and TSV files as sources of parameters. If this is useful, I'd welcome any feedback you have. One day we could maybe work this into other sources you mentioned (I'd personally love to see us able to pull from Notion...).