Closed artburkart closed 8 years ago
Thanks for reporting issue ! I agree. I need to clear the reason and how to fix it.
In my use case, we should set like the following syntax:
test_with_params "reverse_string",
fn (str) ->
(ImportedModule.reverse_string str) === (Enum.reverse str)
end do
[{ Enum.map([{"hello"}], fn(x) -> x end) }] # tuple(test data) nest into list.
end
I'll update this library.
I'm going to release new version after implementing similar feature for ExUnit.Parameterized.ParamsCallback
.
Hi,
I like this library. Perhaps someone could help me use it. I'm a bit stumped by some behavior I'm seeing. If I define something like this:
I get:
I know the production of the AST has something to do with the quoting and unquoting of my code, but it's unclear to me exactly what I need to do to satisfy the
ex_paramterized
library. Perhaps I can do something with:http://elixir-lang.org/docs/stable/elixir/Code.html#eval_quoted/3
Any thoughts?
Cheers