Having trouble reading this email? View it in your browser.
New This Week

Property-Based Testing with PropEr, Erlang, and Elixir »

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. Start writing efficient property-based tests today!

Recently Released:

 

Coming Up Next:

  • Swift Style, Second Edition, in beta
  • The Ray Tracer Challenge: A Test-Driven Guide to Your First 3D Renderer, in beta
  • Practical Chatbots, in beta
  • Programming Crystal, in beta
  • Modern Systems Programming with Scala Native: Write Lean, High-Performance Code without the JVM, in beta
Property-Based Testing with PropEr
August 08, 2018

Ready to level up your Erlang and Elixir testing skills? Come get your copy of Property-Based Testing with PropEr, Erlang, and Elixir: Find Bugs Before Your Users Do, now in beta from pragprog.com/book/fhproper.

No collection of Elixir and Erlang books will be complete without it! Read on for details.

Important Note About Elixir and Erlang

Since Stream Data will not be a part of the Elixir core, we think this book will become more important for the Elixir ecosystem. PropEr already has a significant head start, and we're looking for ways to make this the best possible experience for both the Erlang and Elixir communities. Currently, most of the Elixir code is in an appendix, but we will be changing that. By the time the book is published, we plan to include the Elixir code along with the Erlang code in the chapters. We have some ideas, but we’re still looking for ways to improve that. If you have any suggestions, please send them to us at fhproper@pragprog.com.

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

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.

Now in beta from pragprog.com/book/fhproper.

Upcoming Author Appearances

  • 2018-08-08 Diana Larsen, Agile 2018, San Diego, CA
  • 2018-08-09 Randall Koutnik, MidwestJS
  • 2018-08-16 VM Brasseur, REdeploy, San Francisco, CA
  • 2018-08-27 Tammy Coron, 360|iDev. Denver, Colorado
  • 2018-08-29 VM Brasseur, Open Source Summit North America, Vancouver, BC
  • 2018-09-03 Christina Moulton, Teak Mobile Inc., try! Swift NYC
  • 2018-09-14 VM Brasseur, Cascadia PHP
  • 2018-09-27 Michael Keeling, ECSA 2018, Madrid, Spain
  • 2018-10-08 Diana Larsen, Pacific Northwest Software Quality Conference (PNSQC), Portland, OR
  • Did You Know?

    Please note our ebooks do not contain any Digital Restrictions Management, and have always been DRM-free. For us, "DRM Free" means "freedom": you should own the books you've paid for. On whatever device is handy—your laptop, iThingy, Blueberry, you name it. We think ideas should outlast any device you put them on.

    And you can always come back and re-download your books when needed, using your account on pragprog.com. We're here to make your life easier.

    Don't Get Left Out

    Are your friends jealous that you get these spiffy email newsletters and they don't? Clue them in that all they need to do is create an account on pragprog.com (email address and password is all it takes) and select the checkbox to receive newsletters.

    Are you following us on Twitter and/or Facebook? Here's where you can find us and keep up with the latest news and commentary, and occasional discounts:

    Tell your friends! Tweet this

    Follow us on Twitter: @pragprog, @pragpub, Andy Hunt @PragmaticAndy.

    Thanks for your continued support,
    Andy Hunt
    Publisher, Pragmatic Bookshelf

    Books • eBooks • PragPub Magazine • Audiobooks and Screencasts
    PragProg.com

    Manage your subscription using your account, or permanently unsubscribe here.
    Sent by the Pragmatic Programmers, LLC. • 9650 Strickland Rd Ste 103-255• Raleigh NC 27615