Latest #mocking Threads 
We’re evaluating API mocking tools for OpenAPI-based projects and would love to hear what other teams are using.
We’re particularly inte...
New
ModuleResolver is a library for decoupling module dependencies by easily splitting a module into a behaviour(api) and the implementation....
New
Beyond Mocks Messing with Our Preconceptions of Testing
Comments welcome! View the <span class="hashtag-icon-placeholde...
New
Hi,
I am happy to release the Repatch library for mocking and patching implementation in tests and anywhere else. It brings new possibili...
New
Efx is a library to define and test side effects declaratively. It is basically a very focused mocking framework, reducing implementation...
New
Hey folks :wave:
I just shipped a new Elixir package to improve the ergonomics using mocking libraries like Mox or Hammox, application_m...
New
Hi,
I am trying to mock a module behavior inside my LocalCluster using :erpc and mox libraries. Is this the correct way to do it, as I s...
New
I’m using using mox to help me with my unit testing (for now, I want to mock a function that fetches external API).
my mix.exs :
{:mox,...
New
I’m testing a function that call another function to fetch external data using API calls, here is the main module code :
defmodule MyApp...
New
It appears I am doing something off, as after mocking a module using mock, the module is completely unloaded from memory and subsequent c...
New
This Week's Trending
We’re evaluating API mocking tools for OpenAPI-based projects and would love to hear what other teams are using.
We’re particularly inte...
New
This Month's Trending
Hi,
I am happy to release the Repatch library for mocking and patching implementation in tests and anywhere else. It brings new possibili...
New
This Year's Trending
Efx is a library to define and test side effects declaratively. It is basically a very focused mocking framework, reducing implementation...
New
ModuleResolver is a library for decoupling module dependencies by easily splitting a module into a behaviour(api) and the implementation....
New
Last Three Year's Trending
Hi everyone!
TestServer is an easy way to mock third-party services in ExUnit.
Features
HTTP/1
HTTP/2
WebSocket
TLS with self-signed c...
New
Beyond Mocks Messing with Our Preconceptions of Testing
Comments welcome! View the <span class="hashtag-icon-placeholde...
New
Hey folks :wave:
I just shipped a new Elixir package to improve the ergonomics using mocking libraries like Mox or Hammox, application_m...
New
Trending Over Three Years
Tell me please how to mock/stub methods of Repo module for my tests?
For ex.:
link = Repo.get_by(Link, short_url: url)
db_count = Rep...
New
It is a well-know topic within the Elixir community: “To mock or not to mock? :)”
Every alchemist probably has his / her own opinion con...
New
Hi,
I am using mocking in my unit tests in my code. My mocks are however, injected through Application config,
For example, if Applicat...
New
Consider the following scenario:
A Normalizer behaviour with a normalize_email function.
A User module, with a changeset function that ...
New
I’m using using mox to help me with my unit testing (for now, I want to mock a function that fetches external API).
my mix.exs :
{:mox,...
New
https://github.com/msz/hammox
I’m a big fan of rigorous unit testing. I believe most slow integrated tests can be replaced by unit test...
New
It appears I am doing something off, as after mocking a module using mock, the module is completely unloaded from memory and subsequent c...
New
For some python projects at work we found that there are pytest-{postgres,mysql,redis} and probably more.
These tools take the burden of...
New
Knigge was born out of a desire to standardize dealing with behaviours and their implementations.
As great fans of mox we longed for a...
New
Hello, I’m trying to test some code that fires off multiple external API calls in parallel using Task.async_stream(). I’m using Mox to mo...
New
I’m testing a function that call another function to fetch external data using API calls, here is the main module code :
defmodule MyApp...
New
https://github.com/dsdshcym/promox
Why would you choose Protocol/Promox over Behaviour/Mox?
See this blog post for when to use Protocol ...
New
I have a function that calls a paginated list api multiple times, accumulates the result and then returns it. I have implemented it as a ...
New
Hi,
I am trying to mock a module behavior inside my LocalCluster using :erpc and mox libraries. Is this the correct way to do it, as I s...
New
Latest on Elixir Forum
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Manning Publications
45% off any item
ElixirCasts
10% off for life
The Pragmatic Studio
20% off any course
AppSignal
10% off for 12 months
Honeybadger
10% off for 12 months
Simply use coupon code "devtalk.com" or "elixirforum" at checkout!
Filter by Type:
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #javascript
- #podcasts
- #code-sync
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance








