• Complain

Andrea Leopardi - Testing Elixir: Effective and Robust Testing for Elixir and its Ecosystem

Here you can read online Andrea Leopardi - Testing Elixir: Effective and Robust Testing for Elixir and its Ecosystem full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2021, publisher: Pragmatic Bookshelf, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Andrea Leopardi Testing Elixir: Effective and Robust Testing for Elixir and its Ecosystem
  • Book:
    Testing Elixir: Effective and Robust Testing for Elixir and its Ecosystem
  • Author:
  • Publisher:
    Pragmatic Bookshelf
  • Genre:
  • Year:
    2021
  • Rating:
    5 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 100
    • 1
    • 2
    • 3
    • 4
    • 5

Testing Elixir: Effective and Robust Testing for Elixir and its Ecosystem: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Testing Elixir: Effective and Robust Testing for Elixir and its Ecosystem" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

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 - well 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 Elixirs 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.

Andrea Leopardi: author's other books


Who wrote Testing Elixir: Effective and Robust Testing for Elixir and its Ecosystem? Find out the surname, the name of the author of the book and a list of all author's works by series.

Testing Elixir: Effective and Robust Testing for Elixir and its Ecosystem — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Testing Elixir: Effective and Robust Testing for Elixir and its Ecosystem" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Testing Elixir Effective and Robust Testing for Elixir and its Ecosystem by - photo 1
Testing Elixir
Effective and Robust Testing for Elixir and its Ecosystem
by Andrea Leopardi, Jeffrey Matthias
Version: P1.0 (July 2021)

Copyright 2021 The Pragmatic Programmers, LLC. This book is licensed to the individual who purchased it. We don't copy-protect it because that would limit your ability to use it for your own purposes. Please don't break this trustyou can use this across all of your devices but please do not share this copy with other members of your team, with friends, or via file sharing services. Thanks.

Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and The Pragmatic Programmers, LLC was aware of a trademark claim, the designations have been printed in initial capital letters or in all capitals. The Pragmatic Starter Kit, The Pragmatic Programmer, Pragmatic Programming, Pragmatic Bookshelf and the linking g device are trademarks of The Pragmatic Programmers, LLC.

Every precaution was taken in the preparation of this book. However, the publisher assumes no responsibility for errors or omissions, or for damages that may result from the use of information (including program listings) contained herein.

About the Pragmatic Bookshelf

The Pragmatic Bookshelf is an agile publishing company. Were here because we want to improve the lives of developers. We do this by creating timely, practical titles, written by programmers for programmers.

Our Pragmatic courses, workshops, and other products can help you and your team create better software and have more fun. For more information, as well as the latest Pragmatic titles, please visit us at http://pragprog.com.

Our ebooks do not contain any Digital Restrictions Management, and have always been DRM-free. We pioneered the beta book concept, where you can purchase and read a book while its still being written, and provide feedback to the author to help make a better book for everyone. Free resources for all purchasers include source code downloads (if applicable), errata and discussion forums, all available on the book's home page at pragprog.com. Were here to make your life easier.

New Book Announcements

Want to keep up on our latest titles and announcements, and occasional special offers? Just create an account on pragprog.com (an email address and a password is all it takes) and select the checkbox to receive newsletters. You can also follow us on twitter as @pragprog.

About Ebook Formats

If you buy directly from pragprog.com, you get ebooks in all available formats for one price. You can synch your ebooks amongst all your devices (including iPhone/iPad, Android, laptops, etc.) via Dropbox. You get free updates for the life of the edition. And, of course, you can always come back and re-download your books when needed. Ebooks bought from the Amazon Kindle store are subject to Amazon's polices. Limitations in Amazon's file format may cause ebooks to display differently on different devices. For more information, please see our FAQ at pragprog.com/#about-ebooks. To learn more about this book and access the free resources, go to https://pragprog.com/book/lmelixir, the book's homepage.

Thanks for your continued support,

Andy Hunt
The Pragmatic Programmers

The team that produced this book includes: Dave Rankin (CEO) Janet Furlow (COO) Tammy Coron (Managing Editor) Series editor: Bruce A. Tate Jacquelyn Carter (Development Editor) Molly McBeath (Copy Editor) Potomac Indexing, LLC (Indexing) Gilson Graphics (Layout) Andy Hunt and Dave Thomas (Founders)

For customer support, please contact .

For international rights, please contact .

Table of Contents
Copyright 2021, The Pragmatic Bookshelf.
Early Praise for Testing Elixir

This book is sprinkled with excellent testing advice! The breadth of testing topics covered within the Elixir ecosystem makes this book an excellent resource for any Elixir developer! Highly recommend!

Benjamin Tan
Author of The Little Elixir and OTP Guidebook

Testing Elixir is an incredible resource for developers of all skill levels. Whether you are beginning your Elixir journey and are designing your first test suite or are an experienced Elixir developer looking for reference material, there is something here for you. This book breaks down a wide range of testing concepts into modular chunks so that you can grab what you need and be on your merry, happily tested way.

Sundi Myint
Co-Host of the Elixir Wizards Podcast and Developer, Smart Logic

This is exactly the book that was missing in the Elixir community. It introduces its readers to various testing methodologies from an Elixir lens as well as when to use them. It is loaded with code examples and detailed explanations. A must read!

Adi Iyengar
Back-End Engineer

I would recommend this book to anyone who wants to go beyond basic unit tests. It covers all areas of Elixir apps with examples and information about libraries to leverage in testing.

Todd Resudek
Hex Core Team Member

Acknowledgments

Books dont get published without people reviewing them first. Were deeply grateful to all the folks who spent their time and effort carefully reading and reviewing this book. Thank you to Amos King, Ayomide Aregbede, Devon Estes, Doyle Turner, Geoff Smith, Jonathan Carstens, Justin Smestad, Pedro Medeiros, Solomon White, Todd Resudek, and Zach Thomas.

A special thank you goes to Karl Matthias, who provided thorough and thoughtful comments that challenged our assumptions and pushed us to rethink, reshape, and reword concepts and sentences all over the book. The books quality wouldnt have been the same without Karls input.

Another special thank you goes to Kim Shrier, whose reviews were so detailed and neatly organized that it made addressing his comments a breeze.

Most importantly, this book would never have gotten to print without the guidance (and patience) of our Development editor, Jackie Carter. Thank you.

Andrea Leopardi

The biggest thank you goes to the most important person in my life, my wife, Kristina. I cant imagine any other human being so full of support and encouragement. Youre the light of my life.

Thank you to my parents for setting up a life for me that made it possible for me to write a book about something. Thats pretty crazy. Thank you to my other family, Contrada Cavalli, for filling that life with enough love and fun to give me the energy to learn, work, grow, and write this book.

Thank you to Jos Valim for creating a beautiful programming language that works the same way my mind does. Jos, you have been (possibly without even knowing it) an incredible mentor in my career, both in programming as well as in interacting with people.

Thank you to everyone at Community.com who supported me and gave me time and mental space to work on this book while giving me chance after chance to learn and grow professionally.

Thank you to Jeffrey for dragging me into this adventure. You were a friend before this book, but now we share something that will, if you think about it, outlive both of us. Spooky but pretty cool.

Jeffrey Matthias

Before I ever started on this book, several people helped set me up for success. Josh Kaiser and Ted Coleman gave me a trial by fire, making me the testing expert for our team only months into my career. That formed the foundation of everything that I know. Bradley Smith gave me my first opportunity to get paid to work in Elixir and taught me a lot of the foundation of my software knowledge, as well as tolerated my insistence on testing all the things.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Testing Elixir: Effective and Robust Testing for Elixir and its Ecosystem»

Look at similar books to Testing Elixir: Effective and Robust Testing for Elixir and its Ecosystem. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Testing Elixir: Effective and Robust Testing for Elixir and its Ecosystem»

Discussion, reviews of the book Testing Elixir: Effective and Robust Testing for Elixir and its Ecosystem and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.