This Week's Trending
This Month's Trending
This Year's Trending
Last Three Year's Trending
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
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
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
Hello everybody!
I’ve discovered property-testing with stream_data a few months ago. Since then, I’ve successfully re-written the tests ...
New
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
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
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
I am trying to generate strings which pass a rule, e.g.
1 < length(string) < 10
So I am using,
StreamData.string( … ) |> Stre...
New
I receive this error
== Compilation error in file path/campaign_test.exs ==
** (exit) exited in: GenServer.call(PropCheck.CounterStrike,...
New
I am generating a list of atoms which looks like this,
[:c, :u, :d]
|> StreamData.one_of()
|> StreamData.list_of()
…
A little mo...
New
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
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
From the example in the documentation, I can’t figure out how it could work.
Please check the following. I get error
** (ArgumentError)...
New
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
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
Latest on Elixir Forum
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Manning Publications
45% off any item
ElixirCasts
10% off for life
The Pragmatic Studio
20% off any course
AppSignal
10% off for 12 months
Honeybadger
10% off for 12 months
Simply use coupon code "devtalk.com" or "elixirforum" at checkout!
Filter by Type:
Sub Categories:
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #exunit
- #elixirconf
- #discussion
- #javascript
- #podcasts
- #code-sync
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #api
- #processes
- #forms
- #metaprogramming
- #security
- #performance
- #hex







