Leopardi, Andrea
Testing Elixir: Effective - and Robust Testing for - Elixir and its Ecosystem
- ISBN 13:
- 9781680507829
- author:
- Leopardi, Andrea
- format:
- Paperback
- publisher:
- Pragmatic Bookshelf
- language:
- English
- Publication Year:
- 2021
- Pages:
- 220
- Dimensions:
- 23.5 x 19.1 x 1.4 centimetres (0
- Genre:
- Computers, Programming, Systems Design,
- Condition:
- New
- Availability:
- Item usually sent within 20 working days
Description
Testing Elixir: Effective and Robust Testing for Elixir and Its Ecosystem By Andrea Leopardi and Jeffrey Matthias Elixir presents new testing challenges, requiring you to think outside the box. This book provides a comprehensive guide to writing effective tests using ExUnit, covering unit and integration testing, as well as testing specific Elixir frameworks like OTP, Ecto, and Phoenix. You'll learn how to create robust test suites that add value to your production cycle and protect against regressions. With this knowledge, you can write confident tests for your Elixir code, exploring tools like Mox for mocks and StreamData for property-based testing. The book also delves into the philosophy of testing in Elixir, helping you master key terminology and concepts. By the end, you'll be able to create comprehensive ExUnit test suites that provide safety for refactoring and confidence in your code's performance. This book is ideal for developers looking to improve their Elixir testing skills, covering topics like dependency injection, integration testing, and property-based testing.