Latest #mocks Threads Top

mudasobwa
Łukasz wrote a great article, 'guiding not ruling’ the way of writing tests. I agree with everything, short of his attitude to mocks. The...
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
noelHan
I try mock library for my tests. But I cannot mock function with it This is my test code test "test" do with_mock Process, send_afte...
New
Sumitforyou
Using Exq as below test.exs config :exq, name: Exq.Mock, # adapter: Exq.Mock, queue_adapter: Exq.Adapters.Queue.Mock, start_on_...
New
dsdshcym
Why would you choose Protocol/Promox over Behaviour/Mox? See this blog post for when to use Protocol and when to use Behaviour:
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
doodloo
Consider the following scenario: A Normalizer behaviour with a normalize_email function. A User module, with a changeset function that ...
New
jyotigautam
I have a Product schema which has a UPI(unique product identifier) eg. A985748BNG6784C . This is an autogenerated unique product ide...
New
kostonstyle
Hi all I am reading the phoenixframework book and says in the testing section, that we should avoid mocks for testing why? Thanks
New

This Week's Trending Top

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

mudasobwa
Łukasz wrote a great article, 'guiding not ruling’ the way of writing tests. I agree with everything, short of his attitude to mocks. The...
New

Last Three Year's Trending Top

noelHan
I try mock library for my tests. But I cannot mock function with it This is my test code test "test" do with_mock Process, send_afte...
New
ElixirConf
Beyond Mocks Messing with Our Preconceptions of Testing Comments welcome! View the <span class="hashtag-icon-placeholde...
New

Trending Over Three Years Top

kostonstyle
Hi all I am reading the phoenixframework book and says in the testing section, that we should avoid mocks for testing why? Thanks
New
doodloo
Consider the following scenario: A Normalizer behaviour with a normalize_email function. A User module, with a changeset function that ...
New
jyotigautam
I have a Product schema which has a UPI(unique product identifier) eg. A985748BNG6784C . This is an autogenerated unique product ide...
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
dsdshcym
Why would you choose Protocol/Promox over Behaviour/Mox? See this blog post for when to use Protocol and when to use Behaviour:
New
Sumitforyou
Using Exq as below test.exs config :exq, name: Exq.Mock, # adapter: Exq.Mock, queue_adapter: Exq.Adapters.Queue.Mock, start_on_...
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