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

Testing Elixir »

With ExUnit you can write tests covering all levels of detail, from unit to integration, but only if you know how to use it to the fullest—we’ll show you how. Explore testing Elixir-specific challenges such as OTP-based modules, asynchronous code, Ecto-based applications, and Phoenix applications. Learn new tools like Mox for mocks and StreamData for property-based testing. Create test suites that add value to your production cycle and guard you against regressions.

Recently Released:


Coming Up Next:

  • Using Elixir for Graphs, in beta
  • iOS Unit Testing by Example, in print
  • 555 Timers and How to Use Them, in beta

Best Sellers:

Make sure you haven't missed anything!

  1. Distributed Services with Go
  2. Build Location-Based Projects for iOS
  3. Powerful Command-Line Applications in Go
  4. A Common-Sense Guide to Data Structures and Algorithms, Second Edition
  5. Build Websites with Hugo

See all best sellers...

Testing Elixir
June 18, 2020

Welcome to summer 2020! In the midst of massive global changes, we thought it would be a fine time for some changes of our own. We have launched a new website at pragprog.com. The good news is that it's clean, stripped down, faster, more responsive, and more mobile friendly and accessible. We can take more forms of payment. It's more secure because we keep less personal data, and gives a clean start for including exciting new features to come. But, of course, there are tradeoffs: you'll need to reset your password. We migrated most recent accounts, but if you haven't purchased from us in a while, please email support@pragprog.com and we'll get you set up. You can read the whole FAQ at pragprog.com/support..

Testing Elixir: Effective and Robust Testing for Elixir and its Ecosystem

Write Elixir tests that you can be proud of. Dive into Elixir's test philosophy and gain mastery over the terminology and concepts that underlie good tests. Create and structure a comprehensive ExUnit test suite, starting from the basics, and build comprehensive test coverage that will provide safety for refactoring and confidence that your code performs as designed. Use tests to make your software more reliable and fault tolerant.

Explore the basic tool set provided by ExUnit and Mix to write and organize your test suite. Test code built around different OTP functionality. Isolate your code through dependency injection and by using Mox. Write comprehensive tests for Ecto projects, covering Ecto as a database tool as well as a standalone data validation tool. Test Phoenix channels from end to end, including authentication and joining topics. Write Phoenix controller tests and understand the concepts of integration testing in Elixir. Learn property-based testing with StreamData from the author who wrote the library.

Code with high confidence that you are getting the most out of your test suite, with the right tools that make testing your code a pleasure and a valuable part of your development cycle.

Now available in beta from pragprog.com/titles/lmelixir.

You Could Be a Published Author

Is there a tech topic you are deeply passionate about and want to share with the rest of us? You could become a published Pragmatic Bookshelf author! Take a look at our pragprog.com/become-an-author page for details, including our 50% royalty (yes, for real!) and world-class development editors.

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 signup at pragprog.com.

Tell your friends! Tweet this

Follow us on Twitter for the latest news, commentary, and occasional discounts:: @pragprog, Andy Hunt @PragmaticAndy.

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

By Professional Developers, for Professional Developers

Unsubscribe here.
Sent by the Pragmatic Programmers, LLC. • 9650 Strickland Rd Ste 103-255• Raleigh NC 27615