Property-Based Testing with PropEr, Erlang, and Elixir PDF Download

Are you looking for read ebook online? Search for your book and save it on your Kindle device, PC, phones or tablets. Download Property-Based Testing with PropEr, Erlang, and Elixir PDF full book. Access full book title Property-Based Testing with PropEr, Erlang, and Elixir by Fred Hebert. Download full books in PDF and EPUB format.

Property-Based Testing with PropEr, Erlang, and Elixir

Property-Based Testing with PropEr, Erlang, and Elixir PDF Author: Fred Hebert
Publisher: Pragmatic Bookshelf
ISBN: 1680506544
Category : Computers
Languages : en
Pages : 466

Book Description
Property-based testing helps you create better, more solid tests with little code. By using the PropEr framework in both Erlang and Elixir, this book teaches you how to automatically generate test cases, test stateful programs, and change how you design your software for more principled and reliable approaches. You will be able to better explore the problem space, validate the assumptions you make when coming up with program behavior, and expose unexpected weaknesses in your design. PropEr will even show you how to reproduce the bugs it found. With this book, you will be writing efficient property-based tests in no time. Most tests only demonstrate that the code behaves how the developer expected it to behave, and therefore carry the same blind spots as their authors when special conditions or edge cases show up. Learn how to see things differently with property tests written in PropEr. Start with the basics of property tests, such as writing stateless properties, and using the default generators to generate test cases automatically. More importantly, learn how to think in properties. Improve your properties, write custom data generators, and discover what your code can or cannot do. Learn when to use property tests and when to stick with example tests with real-world sample projects. Explore various testing approaches to find the one that's best for your code. Shrink failing test cases to their simpler expression to highlight exactly what breaks in your code, and generate highly relevant data through targeted properties. Uncover the trickiest bugs you can think of with nearly no code at all with two special types of properties based on state transitions and finite state machines. Write Erlang and Elixir properties that generate the most effective tests you'll see, whether they are unit tests or complex integration and system tests. What You Need Basic knowledge of Erlang, optionally ElixirFor Erlang tests: Erlang/OTP >= 20.0, with Rebar >= 3.4.0For Elixir tests: Erlang/OTP >= 20.0, Elixir >= 1.5.0

Property-Based Testing with PropEr, Erlang, and Elixir

Property-Based Testing with PropEr, Erlang, and Elixir PDF Author: Fred Hebert
Publisher: Pragmatic Bookshelf
ISBN: 1680506544
Category : Computers
Languages : en
Pages : 466

Book Description
Property-based testing helps you create better, more solid tests with little code. By using the PropEr framework in both Erlang and Elixir, this book teaches you how to automatically generate test cases, test stateful programs, and change how you design your software for more principled and reliable approaches. You will be able to better explore the problem space, validate the assumptions you make when coming up with program behavior, and expose unexpected weaknesses in your design. PropEr will even show you how to reproduce the bugs it found. With this book, you will be writing efficient property-based tests in no time. Most tests only demonstrate that the code behaves how the developer expected it to behave, and therefore carry the same blind spots as their authors when special conditions or edge cases show up. Learn how to see things differently with property tests written in PropEr. Start with the basics of property tests, such as writing stateless properties, and using the default generators to generate test cases automatically. More importantly, learn how to think in properties. Improve your properties, write custom data generators, and discover what your code can or cannot do. Learn when to use property tests and when to stick with example tests with real-world sample projects. Explore various testing approaches to find the one that's best for your code. Shrink failing test cases to their simpler expression to highlight exactly what breaks in your code, and generate highly relevant data through targeted properties. Uncover the trickiest bugs you can think of with nearly no code at all with two special types of properties based on state transitions and finite state machines. Write Erlang and Elixir properties that generate the most effective tests you'll see, whether they are unit tests or complex integration and system tests. What You Need Basic knowledge of Erlang, optionally ElixirFor Erlang tests: Erlang/OTP >= 20.0, with Rebar >= 3.4.0For Elixir tests: Erlang/OTP >= 20.0, Elixir >= 1.5.0

Introduction to Property Testing

Introduction to Property Testing PDF Author: Oded Goldreich
Publisher: Cambridge University Press
ISBN: 1107194059
Category : Computers
Languages : en
Pages : 473

Book Description
An extensive and authoritative introduction to property testing, the study of super-fast algorithms for the structural analysis of large quantities of data in order to determine global properties. This book can be used both as a reference book and a textbook, and includes numerous exercises.

Mechanical Properties and Testing of Polymers

Mechanical Properties and Testing of Polymers PDF Author: G.M. Swallowe
Publisher: Springer Science & Business Media
ISBN: 9401592314
Category : Science
Languages : en
Pages : 313

Book Description
This volume represents a continuation of the Polymer Science and Technology series edited by Dr. D. M. Brewis and Professor D. Briggs. The theme of the series is the production of a number of stand alone volumes on various areas of polymer science and technology. Each volume contains short articles by a variety of expert contributors outlining a particular topic and these articles are extensively cross referenced. References to related topics included in the volume are indicated by bold text in the articles, the bold text being the title of the relevant article. At the end of each article there is a list of bibliographic references where interested readers can obtain further detailed information on the subject of the article. This volume was produced at the invitation of Derek Brewis who asked me to edit a text which concentrated on the mechanical properties of polymers. There are already many excellent books on the mechanical properties of polymers, and a somewhat lesser number of volumes dealing with methods of carrying out mechanical tests on polymers. Some of these books are listed in Appendix 1. In this volume I have attempted to cover basic mechanical properties and test methods as well as the theory of polymer mechanical deformation and hope that the reader will find the approach useful.

Significance of Tests and Properties of Concrete and Concrete-making Materials

Significance of Tests and Properties of Concrete and Concrete-making Materials PDF Author: Joseph F. Lamond
Publisher: ASTM International
ISBN: 0803133677
Category : Technology & Engineering
Languages : en
Pages : 661

Book Description


Explosives

Explosives PDF Author: Arthur Marshall
Publisher:
ISBN:
Category : Explosives
Languages : en
Pages : 670

Book Description


Concrete Materials

Concrete Materials PDF Author: Sandor Popovics
Publisher: William Andrew
ISBN: 081551655X
Category : Technology & Engineering
Languages : en
Pages : 674

Book Description
This book presents an in-depth approach to concrete ingredients and their relationships to concrete by discussing their properties, pertinent test methods, specifications, proper use and selection, and solutions to problems in practice. The approach is practice oriented, and the book assists in the improved application of concrete through a thorough understanding of its ingredients. This is aided by the discussion of certain fundamental aspects and relationships in quantitative forms, and by also presenting the interpretation of research and experience. An extensive bibliography is included.The book is a current, organized summary of knowledge concerning concrete-making materials, which will enable the engineer/user to make the best possible product using these materials.

Advanced Characterization and Testing of Textiles

Advanced Characterization and Testing of Textiles PDF Author: Patricia I. Dolez
Publisher: Woodhead Publishing
ISBN: 0081004540
Category : Technology & Engineering
Languages : en
Pages : 476

Book Description
Advanced Characterization and Testing of Textiles explores developments in physical and chemical testing and specific high-performance tests relating to textiles. The book introduces the principles of advanced characterization and testing, including the importance of performance-based specifications in the textiles industry. Chapters are organized by textile properties, providing in-depth coverage of each characteristic. Tests for specific applications are addressed, with the main focus on high-performance and technical textiles. - Focuses on advanced testing methods for technical and high-performance textiles, covering state-of-the-art technology in its field - Details specific textile properties and associated testing for each characteristic

Soil Properties

Soil Properties PDF Author: Cheng Liu
Publisher:
ISBN:
Category : Technology & Engineering
Languages : en
Pages : 448

Book Description
Accompanying diskette includes software that allows easy analysis of collected data and information files.

Property Testing

Property Testing PDF Author: Oded Goldreich
Publisher: Springer
ISBN: 364216367X
Category : Computers
Languages : en
Pages : 370

Book Description
Property Testing is the study of super-fast (randomized) algorithms for approximate decision making. These algorithms are given direct access to items of a huge data set, and determine, whether this data set has some predetermined (global) property or is far from having this property. Remarkably, this approximate decision is made by accessing a small portion of the data set. This state-of-the-art survey presents a collection of extended abstracts and surveys of leading researchers in property testing and related areas; it reflects the program of a mini-workshop on property testing that took place in January 2010 at the Institute for Computer Science (ITCS), Tsinghua University, Beijing, China. The volume contains two editor's introductions, 10 survey papers and 18 extended abstracts.

Autoclaved Aerated Concrete - Properties, Testing and Design

Autoclaved Aerated Concrete - Properties, Testing and Design PDF Author: S. Aroni
Publisher: CRC Press
ISBN: 1482271192
Category : Architecture
Languages : en
Pages : 425

Book Description
This is a comprehensive guide to autoclaved aerated concrete (AAC) for designers, specifiers, users and manufacturers. It provides a model code of practice for the structural use of AAC and provides designers with a complete guide to the structural use of AAC in structural applications in building.