Testing Elixir (Pragmatic Bookshelf)
Most Active This Week
Most Active This Month
Most Active This Year
This is a pretty minor erratum, but I feel the need to point out that on page 12, the book states:
Your setups can build on top of each...
New
On page 18, there is the code:
test "success: recognizes #{condition} as a rainy condition" do
…
end
It is nested within a comprehens...
New
This one had me second-guessing myself, but I’m fairly certain this is an error in both the book’s code sample and the provided source:
...
New
Most Active Last Three Years
Most Active Over Three Years
Title: Testing Elixir - MapSet.new vs. Enum.sort (p. 80 PDF)
The example on this page shows an assertion with the code:
code: assert E...
New
The with_authenticated_user/1 code sample on PDF page 25 in B2.0 returns the user object, and not the authenticated_user object as I expe...
New
I believe the second to the last sentence in the third paragraph contains a few typos.
The single element pattern in our anonymous funct...
New
First iteration that uses Process.sleep/1 works but the stab on using assert_receive doesn’t. I’ve even increased the timeout to 5,000 mi...
New
The text reads:
Additionally, we have to define the test’s pid outside of the function because self() wouldn’t be evaluated until the f...
New
Title: Testing Elixir (Source code)
In the Makefile, provided in source code located at [code/testing_ecto & code/testing_phoenix/no...
New
Is “make both functions public (def instead of def)” on PDF page 85 in B2.0 “make both functions public (def instead of defp)” ?
New
The code on page 16 of beta 6 uses setup_all but I believe this should be setup. The code in response_parser_test.bak.exs uses setup and ...
New
Title: Testing Elixir: B5 Page 183
Url for stream_data repo should be https://github.com/whatyouhide/stream_data instead of https://gith...
New
A few issues on code to test average/1:
add_element/2 in Enum.reduce/3 keeps adding 1 (one) to the list, but numbers in input_list are...
New
As per ISO 21500:
Quality control is a set of activities for ensuring quality in the outputs of the project (the code here) whereas qua...
New
Title: Testing Elixir B5: page 128
Under Updating our Tests to include Database fields,
Let’s update the test name to TestingEcto.Schem...
New
There’s no RollingAverageMeasurements.add_element/1 variant. The two calls to RollingAverageMeasurements.add_element should either be pip...
New
expected_list has 10 as its first element but assert at end of test pushes 3, not 10.
New
Title: Testing Elixir B5 (page 172)
Inside the “Modified Boiler Plate” info box, the filename for error_tag/3 should be “lib/not_skull_w...
New
Publisher:
Pragmatic Bookshelf
Latest in Testing Elixir
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Use the coupon code "devtalk.com" to get 35% off any eBook published by PragProg!









