
Property-Based Testing with Proper, Erlang, and Elixir: Find Bugs Before Your Users Do
Kurzinformation



inkl. MwSt. Versandinformationen
Artikel zZt. nicht lieferbar
Artikel zZt. nicht lieferbar

Beschreibung
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 Elixir>= 20.0, with Rebar >= 3.4.0>= 20.0, Elixir >= 1.5.0 von Hebert, Fred
Produktdetails

So garantieren wir Dir zu jeder Zeit Premiumqualität.
Über den Autor
- Taschenbuch
- 325 Seiten
- Erschienen 2022
- Manning Publications
- Hardcover
- 388 Seiten
- Erschienen 1993
- Springer
- paperback
- 314 Seiten
- Erschienen 2014
- Packt Pub Ltd
- hardcover -
- Erschienen 1990
- Itp - Media
- Hardcover
- 116 Seiten
- Erschienen 2011
- O'Reilly and Associates
- Hardcover
- 223 Seiten
- Erschienen 2017
- entwickler.press
- paperback
- 84 Seiten
- O'Reilly Verlag GmbH & Co. KG
- paperback
- 340 Seiten
- Erschienen 2010
- Addison-Wesley Professional
- Hardcover
- 360 Seiten
- Erschienen 2007
- Cambridge University Press
- Kartoniert
- 208 Seiten
- Erschienen 2017
- dpunkt.verlag
- Hardcover
- 208 Seiten
- Erschienen 2001
- Addison-Wesley Professional
- Hardcover -
- Erschienen 2013
- Carl Hanser Verlag GmbH & C...
- Hardcover
- 501 Seiten
- Erschienen 2005
- Bohn Stafleu van Loghum
- Hardcover
- 605 Seiten
- Erschienen 2020
- Apress
- Hardcover
- 384 Seiten
- Erschienen 2010
- Wiley
- Hardcover
- 352 Seiten
- Erschienen 2017
- Manning