This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

Last Three Year's Trending Top

linusdm
I’m trying to test an Ecto query that joins a few tables, and that a lot of where conditions that have to satisfy before selecting rows. ...
New
benswift
The new how to guide on testing resources has some helpful ideas on how to test that actions handle valid inputs. What’s the recommended...
New

Trending Over Three Years Top

igalic
Hi folks, I'm trying to transform our tests for AuthToken (a wrapper around JOSE) to ExUnitProperties. But I'm kinda failing at the mos...
New
ejpcmac
Hello everybody! I’ve discovered property-testing with stream_data a few months ago. Since then, I’ve successfully re-written the tests ...
New
bryanjos
I was trying to use StreamData with test factory functions based off of what is in “What’s new in Ecto 2.1” book (or also close to what t...
New
smedegaard
I’m trying to write property based tests for a Reverse Polish Notation calculator. I’ve implemented the RPN such that it will return an ...
New
BadMrStinger
I am having a hard time coming up with negative tests. I believe it can be done with filters, but I haven’t been able to come up good wor...
New
mmport80
I am trying to generate strings which pass a rule, e.g. 1 < length(string) < 10 So I am using, StreamData.string( … ) |> Stre...
New
dopomecana
I receive this error == Compilation error in file path/campaign_test.exs == ** (exit) exited in: GenServer.call(PropCheck.CounterStrike,...
New
mmport80
I am generating a list of atoms which looks like this, [:c, :u, :d] |> StreamData.one_of() |> StreamData.list_of() … A little mo...
New
co0lsky
Greetings! I am relatively new to property-based testing. I am practicing writing property tests and hoping for a code review if any prac...
New
mmport80
There’s a nice map function for StreamData, https://hexdocs.pm/stream_data/StreamData.html#map/2 but how do people do reduction? I.e. s...
New
houmanka
From the example in the documentation, I can’t figure out how it could work. Please check the following. I get error ** (ArgumentError)...
New
Kaweeda
Trying to write a property based test to prove ‘js_lib.patch(json_a, elixir_lib.diff(json_a, json_b)) == json_b’ a , b are maps and I n...
New
sandeshsoni
Suppose I have a legacy rails or node-js or java project. I will write a separate new project for tests. I will check all the tests pass...
New
  • Follow
  • Join
  • Shape
the conversation

Latest on Elixir Forum

Elixir Forum

Similar Portals

    None added yet

We're in Beta

About us Mission Statement