/books/testing-elixir
Active Threads This:
Most Active This Week
Most Active This Month
Most Active This Year
Most Active Last Three Years
Andrea Leopardi (@whatyouhide) and Jeffrey Matthias (@idlehands),
SoggyWaffle.WeatherCheckerTest is using the :set_mox_from_context setu...
New
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
Title: Testing Elixir (Source code)
In the Makefile, provided in source code located at [code/testing_ecto & code/testing_phoenix/no...
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
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
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
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
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
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
expected_list has 10 as its first element but assert at end of test pushes 3, not 10.
New
Book Info
Publisher:
Pragmatic Bookshelf
Are you this book's author? To be notified of all posts made about it, sign up an account then click here, then select 'watching' from the bell icon in the top right corner.
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Simply use coupon code "devtalk.com" at checkout. See full details here.