Free shipping on orders over $99
Testing Elixir

Testing Elixir

Effective and Robust Testing for Elixir and Its Ecosystem

by Andrea Leopardi and Jeffrey Matthias
Paperback
Publication Date: 17/08/2021

Share This Book:

53%
OFF
RRP  $87.35

RRP means 'Recommended Retail Price' and is the price our supplier recommends to retailers that the product be offered for sale. It does not necessarily mean the product has been offered or sold at the RRP by us or anyone else.

$41.25
or 4 easy payments of $10.31 with
afterpay
Elixir offers new paradigms, and challenges you to test in unconventional ways.

Start with ExUnit: almost everything you need to 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.

Explore new tools like Mox for mocks and StreamData for property-based testing. Armed with this knowledge, you can create test suites that add value to your production cycle and guard you from regressions.
  • 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.

What You Need:

 

To get the most out of this book, you will need to have installed Elixir 1.8 or later and Erlang/OTP 21 or later. In order to complete the relevant chapters, you will also need Ecto 3.1 or later, EctoSQL 3.1 or later and Phoenix 1.3 or later.

ISBN:
9781680507829
9781680507829
Category:
Utilities & tools
Format:
Paperback
Publication Date:
17-08-2021
Language:
English
Publisher:
Pragmatic Programmers, LLC, The
Country of origin:
United States
Dimensions (mm):
238x186x14.3mm
Weight:
0.48kg

This item is In Stock in our Sydney warehouse and should be sent from our warehouse within 1-2 working days.

Once sent we will send you a Shipping Notification which includes online tracking.

Please check the estimated delivery times below for your region, for after your order is despatched from our warehouse:

ACT Metro  2 working days

NSW Metro  2 working days

NSW Rural  2 - 3 working days

NSW Remote  2 - 5 working days

NT Metro  3 - 6 working days

NT Remote  4 - 10 working days

QLD Metro  2 - 4 working days

QLD Rural  2 - 5 working days

QLD Remote  2 - 7 working days

SA Metro  2 - 5 working days

SA Rural  3 - 6 working days

SA Remote  3 - 7 working days

TAS Metro  3 - 6 working days

TAS Rural  3 - 6 working days

VIC Metro  2 - 3 working days

VIC Rural  2 - 4 working days

VIC Remote  2 - 5 working days

WA Metro  3 - 6 working days

WA Rural  4 - 8 working days

WA Remote  4 - 12 working days

 

Express Post is available if ALL items in your Shopping Cart are listed as 'In Stock'.

Reviews

Be the first to review Testing Elixir.