Skip to product information
1 of 1

Andrea Leopardi,Jeffrey Matthias

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

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

Low Stock: Only 2 copies remaining
Regular price £25.52 GBP
Regular price £36.99 GBP Sale price £25.52 GBP
31% OFF Sold out
Tax included. Shipping calculated at checkout.

YOU SAVE £11.47

  • Condition: Brand new
  • UK Delivery times: Usually arrives within 2 - 3 working days
  • UK Shipping: Fee starts at £2.39. Subject to product weight & dimension
Trustpilot 4.5 stars rating  Excellent
We're rated excellent on Trustpilot.
  • More about Testing Elixir: Effective and Robust Testing for Elixir and its Ecosystem

Elixir is a programming language that offers new paradigms and challenges for testing. This book provides a comprehensive guide to writing effective Elixir tests, covering topics such as ExUnit, OTP-based modules, asynchronous code, Ecto-based applications, and Phoenix applications. It also introduces new tools like Mox for mocks and StreamData for property-based testing. With this knowledge, developers can create test suites that add value to their production cycle and guard them from regressions.

Format: Paperback / softback
Length: 220 pages
Publication date: 27 July 2021
Publisher: The Pragmatic Programmers


Elixir, a dynamiclixir language, presents unique paradigms and encourages unconventional testing approaches. Begin your testing journey with ExUnit, a comprehensive testing framework that caters to all levels of detail, from unit to integration. However, its true potential lies in harnessing its capabilities fully. Delve into testing Elixir-specific challenges such as OTP-based modules, asynchronous code, Ecto-based applications, and Phoenix applications. Explore innovative tools like Mox for mocks and StreamData for property-based testing, empowering you to create test suites that add substantial value to your production cycle and safeguard against regressions. Embrace Elixir's test philosophy and master the terminology and concepts that underpin effective tests. Construct a comprehensive ExUnit test suite, starting from the fundamentals, and cultivate comprehensive test coverage that ensures the safety of refactoring and instills confidence in the performance of your code. Utilize tests to enhance the reliability and fault tolerance of your software. Explore the basic tool set provided by ExUnit and Mix to write and organize your test suite. Test code built around various OTP functionalities, isolating it through dependency injection and leveraging Mox for mocks. Write comprehensive tests for Ecto projects, encompassing Ecto as a database tool and a standalone data validation tool. Test Phoenix channels from end to end, including authentication and joining topics. Write Phoenix controller tests and grasp the principles of integration testing in Elixir. Dive into property-based testing with StreamData, authored by the library's creator. Code with unwavering confidence, knowing that your test suite is optimized with the right tools that transform testing into a delightful and invaluable experience.

Weight: 506g
Dimension: 190 x 237 x 18 (mm)
ISBN-13: 9781680507829

UK and International shipping information

UK Delivery and returns information:

  • Delivery within 2 - 3 days when ordering in the UK.
  • Shipping fee for UK customers from £2.39. Fully tracked shipping service available.
  • Returns policy: Return within 30 days of receipt for full refund.

International deliveries:

Shulph Ink now ships to Australia, Belgium, Canada, France, Germany, Ireland, Italy, India, Luxembourg Saudi Arabia, Singapore, Spain, Netherlands, New Zealand, United Arab Emirates, United States of America.

  • Delivery times: within 5 - 10 days for international orders.
  • Shipping fee: charges vary for overseas orders. Only tracked services are available for most international orders. Some countries have untracked shipping options.
  • Customs charges: If ordering to addresses outside the United Kingdom, you may or may not incur additional customs and duties fees during local delivery.
View full details