A simple Elixir package to elegantly mock module functions within (asynchronous) ExUnit tests using Erlang's :meck library
- elixir
- mocking
- exunit
- meck
47,133 repositories indexed
25–29 of 29 · Most stars
A simple Elixir package to elegantly mock module functions within (asynchronous) ExUnit tests using Erlang's :meck library
Mocking functions. Please get in touch to discuss features! Only regular functions available for now.
Feature-rich filesystem mocking for Go tests: comprehensive error injection, latency simulation, write operations, operation statistics, and standalone file handles. Built on testing/fstest.MapFS with comprehensive fs.FS interface support.
A simple framework for writing effective unit, component, and integration tests.
WITH-REDEFS enables rebinding of global functions, inspired by Clojure's with-redefs