Property-Based Testing with PropEr, Erlang, and Elixir (Pragmatic Bookshelf)
Hot This:
Latest Threads About This Book

PropCheck supports TargetedPBT now – PropCheck.TargetedPBT — PropCheck v1.4.1
Is the Elixir code for Chapter 8 Targeted Properties avail...
New

@ferd
Link to the paragraph of the Erlang documentation “7.3 Type Declarations of User-Defined Types” is out of date.
Current link is ...
New

@ferd
It would be great to run a sample code that would show how the cache regsiter works. I’ve made it(link). I implement this tests.
...
New

proper_gen:pick
( → 1
proper_types:non_empty
( → 2
proper_types:list
( → 3
proper_types:number
( → 4
) → 4
) → 3
) → 2 ...
New

CSV parsing
Dear author, @ferd, I am solely out of positive motives and a desire to improve the books, I would like to suggest that you ...
New

I noticed that the author uses sequences of the same letters for testing.
rfc_record_per_line_test() ->
?assertEqual([#{"aaa"...
New

At the top of the page in the code section Erlang there is a line of text:
existing code
It is clear that the author meant that the exi...
New

I noticed that the necessary inconsistence, which describes in an example PropEr framework does not find a discrepancy in the RFC 4180 s...
New

Of course, I understand that the order of the functions depends on the preferences of each, but for me, as a programmer who once programm...
New

Chapter 4
Question 6
I implemented property and even tried to make an example more interesting and I would like to improve my realizati...
New
Most Active This Week
Most Active This Month
Most Active This Year
Most Active Last Three Years

To be a more productive reader when rereading a book, it is very convenient to create small rebar3 projects based on books’ samples and i...
New

@ferd
It would be great to run a sample code that would show how the cache regsiter works. I’ve made it(link). I implement this tests.
...
New

@ferd
Link to the paragraph of the Erlang documentation “7.3 Type Declarations of User-Defined Types” is out of date.
Current link is ...
New

PropCheck supports TargetedPBT now – PropCheck.TargetedPBT — PropCheck v1.4.1
Is the Elixir code for Chapter 8 Targeted Properties avail...
New
Most Active Over Three Years

Property-based testing helps you create better, more solid tests with little code. Use the PropEr framework in both Erlang and Elixir, to...
New

Exercise 2
I add output and then run it to see it execute.
There is peace of my code with output:
increments([Head | Tail]) -> incre...
New

It would be very convenient if the source code would be distributed into folders, where the root would contain folders with the ordinal n...
New

Property-Based Testing with PropEr, Erlang, and Elixir: :proper_check.sample should be :proper_gen.sample p.79(PDF)
New

I’m wondering why you chose the following sequence in your expression:
Function under test =:= reference expression
prop_biggest() ->...
New

CSV parsing
Dear author, @ferd, I am solely out of positive motives and a desire to improve the books, I would like to suggest that you ...
New

In the 5th Question of the third chapter, it was proposed to create a function, as well as a testing property to test its work. In your a...
New

Appendix 4
Generator Reference
(page 452)
The table has description about utf8() generator:
Generates to utf8-encoded text as a bina...
New

Of course, I understand that the order of the functions depends on the preferences of each, but for me, as a programmer who once programm...
New

Chapter 4
Question 6
I implemented property and even tried to make an example more interesting and I would like to improve my realizati...
New

At the top of the page in the code section Erlang there is a line of text:
existing code
It is clear that the author meant that the exi...
New

I noticed that the author uses sequences of the same letters for testing.
rfc_record_per_line_test() ->
?assertEqual([#{"aaa"...
New

I noticed that the necessary inconsistence, which describes in an example PropEr framework does not find a discrepancy in the RFC 4180 s...
New

proper_gen:pick
( → 1
proper_types:non_empty
( → 2
proper_types:list
( → 3
proper_types:number
( → 4
) → 4
) → 3
) → 2 ...
New

While running code example one of expression’s result is unused. It is easy to fix. Just use “_” variable. That structure inform the comp...
New
Book Info
Publisher:
Pragmatic Bookshelf
Get money off!

The Pragmatic Bookshelf
35% off any eBook
Simply use coupon code "devtalk.com" at checkout. See full details here.