Property-based testing with PropEr, Erlang, and Elixir: find bugs before your users do

Property-based testing helps you create better, more solid tests with little code. Use the ProER framework in both Erlang and Elixir, to automatically generate test cases, test stateful programs, and change your software designs for more reliable approaches. Explore the problem space better, validat...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Beteilige Person: Hébert, Fred 1988- (VerfasserIn)
Format: Elektronisch E-Book
Sprache:Englisch
Veröffentlicht: Raleigh The Pragmatic Bookshelf [2019]
Schriftenreihe:The pragmatic programmers
Schlagwörter:
Links:https://learning.oreilly.com/library/view/-/9781680506556/?ar
Zusammenfassung:Property-based testing helps you create better, more solid tests with little code. Use the ProER framework in both Erlang and Elixir, to automatically generate test cases, test stateful programs, and change your software designs for more reliable approaches. Explore the problem space better, validate your assumptions about program behavior, and expose unexpected weaknesses in your design. Write stateless properties, and use default generators to generate test cases automatically. 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. Shrinking test cases to their simpler expressions, and generate relevant data through targeted properties. Uncover bugs with nearly code at all, with properties based on state transitions and fixing state machines.
Beschreibung:Includes bibliographical references and index. - Online resource; title from PDF title page (EBSCO, viewed February 14, 2019). - Print version record
Umfang:1 Online-Ressource (xiv, 353 Seiten) Illustrationen
ISBN:9781680506532
1680506536
9781680506549
1680506544