Dependency Injection for ExUnit and testing in Elixir

This page summarizes the projects mentioned and recommended in the original post on /r/elixir

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • rewire

    Dependency injection for Elixir. Zero code changes required.

  • Now I use rewire instead and I am very happy with the results.

  • injex

    A simple way to describe dependencies that can be replaced at test time.

  • I've previously been using injex with great success, but I kind of like the idea of rewire more

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
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