Testing Elixir: Effective and Robust Testing for Elixir and its Ecosystem by Andrea Leopardi, Jeffrey Matthias
English | August 3rd, 2021 | ISBN: 1680507826 | 264 pages | True EPUB | 2.36 MB
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.