Wrapping Up

Testing Elixir — by Andrea Leopardi, Jeffrey Matthias (29 / 80)

The Pragmatic Programmers
The Pragmatic Programmers

--

👈 End-to-End Tests | TOC | Chapter 3 Testing OTP 👉

We had a look at the practice of integration testing and end-to-end testing. We discussed in-depth ways to write integration tests for parts of the system that interface with external systems, and we looked at some Elixir-specific tooling for doing so. In the next chapter, we’ll look at testing one of the most peculiar tools in the Elixir and Erlang landscapes, the OTP set of abstractions. There we’ll see some of the things mentioned in this chapter being used in more practical scenarios.

Footnotes

[14] https://github.com/plataformatec/mox

[15] https://github.com/elixir-plug/plug

[16] https://github.com/ninenines/cowboy

[17] https://github.com/PSPDFKit-labs/bypass

[18] https://github.com/parroty/exvcr

[19] http://erlang.org/doc/man/httpc.html

[20] https://github.com/benoitc/hackney

Copyright © 2021, The Pragmatic Bookshelf.

👈 End-to-End Tests | TOC | Chapter 3 Testing OTP 👉

Testing Elixir by Andrea Leopardi, Jeffrey Matthias can be purchased in other book formats directly from the Pragmatic Programmers. If you notice a code error or formatting mistake, please let us know here so that we can fix it.

--

--

The Pragmatic Programmers
The Pragmatic Programmers

We create timely, practical books and learning resources on classic and cutting-edge topics to help you practice your craft and accelerate your career.