mimic

A mocking library for Elixir (by edgurgel)

Mimic Alternatives

Similar projects and alternatives to mimic

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

mimic reviews and mentions

Posts with mentions or reviews of mimic. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-18.
  • An Introduction to Mocking Tools for Elixir
    7 projects | dev.to | 18 Apr 2023
    If you are used to Mocha for other languages, you can check out Mimic. It lets you define stubs and expectations during tests by keeping track of the stubbed module in an ETS table.
  • 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.
  • Testing in elixir
    1 project | /r/elixir | 26 Jan 2022
    Check out https://github.com/edgurgel/mimic for mocking purposes
  • A note from our sponsor - SaaSHub
    www.saashub.com | 24 Apr 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic mimic repo stats
3
347
4.8
13 days ago

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

The primary programming language of mimic is Elixir.


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