rewire

Dependency injection for Elixir. Zero code changes required. (by stephanos)

Rewire Alternatives

Similar projects and alternatives to rewire based on common topics and language

  • mimic

    3 rewire VS mimic

    A mocking library for Elixir (by edgurgel)

  • injex

    1 rewire VS injex

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

  • 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
  • Mockery

    Simple mocking library for asynchronous testing in Elixir. (by appunite)

  • mecks_unit

    A simple Elixir package to elegantly mock module functions within (asynchronous) ExUnit tests using Erlang's :meck library

  • ElixirMock

    Creates clean, concurrent, inspectable mocks from elixir modules

  • dummy

    An Elixir mocking library that makes sense by exposing meck in the right way (by strangemachines)

  • definject

    Unobtrusive Dependency Injector for Elixir

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better rewire alternative or higher similarity.

rewire reviews and mentions

Posts with mentions or reviews of rewire. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-19.
  • Purity injection in Elixir
    2 projects | dev.to | 19 Oct 2022
    By adjusting the mindset to stop thinking about dependencies and start to think about behaviours (functions) we were able to extract the impure parts of the number generator function. Then, by making them injectable we transformed the impure function to the one into which we can inject purity in tests, making it essentially pure and thus much easier to test. We also didn't need any fancy tool like Mox, Mimic or Rewire to define replacement modules for us. The code is hopefully understandable and uses only built-in Elixir idioms, without macros.
  • Dependency Injection for ExUnit and testing in Elixir
    2 projects | /r/elixir | 30 May 2022
    Now I use rewire instead and I am very happy with the results.

Stats

Basic rewire repo stats
2
73
0.0
8 months ago

stephanos/rewire is an open source project licensed under Apache License 2.0 which is an OSI approved license.

The primary programming language of rewire is Elixir.

Popular Comparisons


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