Latest #mocking Threads Top

Herve37
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
dmitrykleymenov
ModuleResolver is a library for decoupling module dependencies by easily splitting a module into a behaviour(api) and the implementation....
New
ElixirConf
Beyond Mocks Messing with Our Preconceptions of Testing Comments welcome! View the <span class="hashtag-icon-placeholde...
New
Asd
Hi, I am happy to release the Repatch library for mocking and patching implementation in tests and anywhere else. It brings new possibili...
New
murrgelb
Efx is a library to define and test side effects declaratively. It is basically a very focused mocking framework, reducing implementation...
New
pepicrft
Hey folks :wave: I just shipped a new Elixir package to improve the ergonomics using mocking libraries like Mox or Hammox, application_m...
New
softodrom
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
xgeek116
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
xgeek116
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
gmile
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 Top

Herve37
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 Top

Asd
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 Top

murrgelb
Efx is a library to define and test side effects declaratively. It is basically a very focused mocking framework, reducing implementation...
New
dmitrykleymenov
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 Top

danschultzer
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
ElixirConf
Beyond Mocks Messing with Our Preconceptions of Testing Comments welcome! View the <span class="hashtag-icon-placeholde...
New
pepicrft
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 Top

abratashov
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
archan937
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
itssasanka
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
doodloo
Consider the following scenario: A Normalizer behaviour with a normalize_email function. A User module, with a changeset function that ...
New
xgeek116
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
msz
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
gmile
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
NobbZ
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
wolf4earth
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
Odysseus
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
xgeek116
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
dsdshcym
https://github.com/dsdshcym/promox Why would you choose Protocol/Promox over Behaviour/Mox? See this blog post for when to use Protocol ...
New
Mukulch15
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
softodrom
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
  • Follow
  • Join
  • Shape
the conversation

Latest on Elixir Forum

Elixir Forum

Similar Portals

    None added yet

We're in Beta

About us Mission Statement