example_test icon indicating copy to clipboard operation
example_test copied to clipboard

A utility for defining eminently readable example-based tests in Elixir

Results 10 example_test issues
Sort by recently updated
recently updated
newest added

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...

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...

Wojtek suggested it might be possible to get the specific row in the parameters table in the backtrace when your test fails.

There's been some discussion of how it'd be nice to integrate `param_test` with doctests. I'm not sure yet what this might look like, but it's something to noodle on.

Wojtek suggested there might be a way to make `param_test` use a Markdown sigil that would then provide autoformatting and syntax highlighting.

Without this, parameterized feature tests don't get excluded/included the same way `feature` tests do.

Bumps [ex_doc](https://github.com/elixir-lang/ex_doc) from 0.37.3 to 0.38.1. Changelog Sourced from ex_doc's changelog. v0.38.1 (2025-05-12) Bug fixes Ensure stripping apps for Erlang soursces emit valid AST v0.38.0 (2025-05-09) Enhancements Allow listing outside...

dependencies
elixir

This would lower the friction for people use ~PARAMS in conjunction with the formatter. Inspired by #47

good first issue

Bumps [nimble_csv](https://github.com/dashbitco/nimble_csv) from 1.2.0 to 1.3.0. Changelog Sourced from nimble_csv's changelog. v1.3.0 (2025-06-24) Require Elixir 1.15+ Add generated: true to newlines_separator macro Fix warnings on Elixir 1.20+ Document OWASP official...

dependencies
elixir