Checking Efx - testable effects for Elixir

This page summarizes the projects mentioned and recommended in the original post on dev.to

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • mock

    Mocking library for Elixir language (by jjh42)

    Mocking in Elixir is always a hot topic, mainly because of people coming from different other technologies having different expectation. The most "cannonical" solution, Mox, gives a lot of security with regard to what the fake implementation returns, but requires a bit of a ceremony from the programmer. Other solutions like Mock, Rewire or Bypass offer more ad-hoc mocking, but t the price of the tests heving to be synchronous. Then there's Mimic, which offers ad-hoc mocking and supports async tests.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • rewire

    Dependency injection for Elixir. Zero code changes required.

    Mocking in Elixir is always a hot topic, mainly because of people coming from different other technologies having different expectation. The most "cannonical" solution, Mox, gives a lot of security with regard to what the fake implementation returns, but requires a bit of a ceremony from the programmer. Other solutions like Mock, Rewire or Bypass offer more ad-hoc mocking, but t the price of the tests heving to be synchronous. Then there's Mimic, which offers ad-hoc mocking and supports async tests.

  • mimic

    A mocking library for Elixir (by edgurgel)

    Mocking in Elixir is always a hot topic, mainly because of people coming from different other technologies having different expectation. The most "cannonical" solution, Mox, gives a lot of security with regard to what the fake implementation returns, but requires a bit of a ceremony from the programmer. Other solutions like Mock, Rewire or Bypass offer more ad-hoc mocking, but t the price of the tests heving to be synchronous. Then there's Mimic, which offers ad-hoc mocking and supports async tests.

  • efx

    A library to declaratively write testable effects

    In this busy area, a new library appeared very recently. It's called Efx and its description does not even mention mocking:

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Purity injection in Elixir

    2 projects | dev.to | 19 Oct 2022
  • Advanced Dependency Injection in Elixir with Rewire

    2 projects | dev.to | 25 Jun 2024
  • An Introduction to Mocking Tools for Elixir

    7 projects | dev.to | 18 Apr 2023
  • Goreen tea : golang boilerplate for data-intensive microservice

    3 projects | dev.to | 11 May 2021
  • Stubbing HTTP communication in E2E test with Hoverfly

    1 project | dev.to | 6 Nov 2024

Did you konow that Elixir is
the 24th most popular programming language
based on number of metions?