Loading, please wait...

Testing Elixir - by Andrea Leopardi & Jeffrey Matthias (Paperback)

About this item

Specifications

Number of Pages: 264

Genre: Computers + Internet

Sub-Genre: Software Development & Engineering

Format: Paperback

Publisher: Pragmatic Bookshelf

Age Range: Adult

Book theme: Quality Assurance & Testing

Author: Andrea Leopardi & Jeffrey Matthias

Language: English

Street Date: August 3, 2021
TCIN: 83072057
UPC: 9781680507829
Item Number (DPCI): 247-35-1068
Origin: Made in the USA or Imported

Description



Book Synopsis



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.



About the Author



Andrea Leopardi is a software developer and engineer with a passion for programming and code design. He loves beautiful and thoroughly tested code. He's a member of the core team of the Elixir programming language. He's also a frequent public speaker and trainer.

Jeffrey Matthias is a software engineer and industrial designer who loves modularity and quick feedback loops, two things that testing can help facilitate in code. When he's not coding, he's (helping his awesome wife with) raising his two kids and starting projects that he might finish someday.

If the item details above aren’t accurate or complete, we want to know about it. Report incorrect product info.

Shipping details

Estimated ship dimensions: 0.55 inches length x 7.5 inches width x 9.25 inches height
Estimated ship weight: 1.01 pounds
We regret that this item cannot be shipped to PO Boxes.
This item cannot be shipped to the following locations: United States Minor Outlying Islands, American Samoa (see also separate entry under AS), Puerto Rico (see also separate entry under PR), Northern Mariana Islands, Virgin Islands, U.S., APO/FPO, Guam (see also separate entry under GU)

Return details

This item can be returned to any Target store or Target.com.
This item must be returned within 90 days of the in-store purchase, ship date or online order pickup. See return policy for details.
See the return policy for complete information.

From the manufacturer

No information loaded.

Guest Ratings & Reviews

Prices, promotions, styles and availability may vary by store & online. See our price match guarantee. See how a store is chosen for you.