Latest #unit-testing Threads 
Hello there.
I’m wondering if people have any tips for doing TDD with Elixir.
I am specifically wondering if it is possible to configur...
New
I see that the current ExUnit source code has support for rich failure messages on a small whitelist of “recognized” assertion patterns, ...
New
Considering that the order of Map keys isn’t guaranteed, is there any reliable way to check KeyErrors in doctests?
Doctest failed: wron...
New
I wonder if it’s possible to mimic a simple “class reopening”/inhertinace-based SEAM in Elixir to alter a module’s behaviour without edit...
New
I was wondering how people usually test projects that have to rely heavily on side-effects.
Imagine I have a genserver that ingests mess...
New
Hello, I hope you are well.
Two years ago I created a lib ( mishka_installer ) that compiles a hex pkg lib in another path and move bin ...
New
Hello everyone!
I am new to coding with Elixir/Erlang. And i am looking for some utilities for fuzzing testing like AFL++.
Does anyone ...
New
In an interview of José by Theo Browne, they mention the importance of “good” tests, in contrast to “bad” ones.
Specifically, they start...
New
I’m having a hard time setting up testing for a new Ash Framework project. App details:
It’s a Phoenix app, with the server boss_site a...
New
I’m still new to GitHub action. I’m running a Phoenix/Elixir project, In my config file, I have the following configuration for the test:...
New
This Week's Trending
This Month's Trending
This Year's Trending
I wonder if it’s possible to mimic a simple “class reopening”/inhertinace-based SEAM in Elixir to alter a module’s behaviour without edit...
New
I see that the current ExUnit source code has support for rich failure messages on a small whitelist of “recognized” assertion patterns, ...
New
Considering that the order of Map keys isn’t guaranteed, is there any reliable way to check KeyErrors in doctests?
Doctest failed: wron...
New
Hello there.
I’m wondering if people have any tips for doing TDD with Elixir.
I am specifically wondering if it is possible to configur...
New
Last Three Year's Trending
I am trying to configure a Phoenix Ecto app for testing using the example from the docs.
Problem: Each time I run mix test, even when lo...
New
In an interview of José by Theo Browne, they mention the importance of “good” tests, in contrast to “bad” ones.
Specifically, they start...
New
I am in love with Livebook! My hope is to use it for everything from data exploration and feature planning, documentation, and TDD in a c...
New
Hello everyone!
I am new to coding with Elixir/Erlang. And i am looking for some utilities for fuzzing testing like AFL++.
Does anyone ...
New
Hi folks,
When we run mix test --cover, we see some modules which starts with Inspect.XXX.XXX at cover results.
mix test --cover
Outpu...
New
I’m having a hard time setting up testing for a new Ash Framework project. App details:
It’s a Phoenix app, with the server boss_site a...
New
I was wondering how people usually test projects that have to rely heavily on side-effects.
Imagine I have a genserver that ingests mess...
New
I’m still new to GitHub action. I’m running a Phoenix/Elixir project, In my config file, I have the following configuration for the test:...
New
Hello, I hope you are well.
Two years ago I created a lib ( mishka_installer ) that compiles a hex pkg lib in another path and move bin ...
New
Trending Over Three Years
I’m trying to set the header with an addition value in a phoenix unit (integration) test:
@tag integration: true
test "should record ...
New
Here is the use case that I am trying to solve:
I have a standard test module which has a setup_all method and a describe block.
Now, I...
New
Hello. I am writing my first server in elixir, and I am using the influxDB for storing time series data. So far I have enjoyed programmin...
New
In the test suite for Makeup, I need some dummy lexers to test some of the combinators. I could define all the lexers in test_helper.exs,...
New
Hey folks,
I’ve written a regular expression for validating input strings. For testing purposes, I want to setup a scenario where a set ...
New
I’m going through the “Elixir For Programmers” course by Dave Thomas, which uses a simple game as didactic example.
I have written some ...
New
In general, if we follow the default way of application setup, all of our processes are started in test mode the same way they are in dev...
New
Hello everyone,
I’m trying to run ExUnit tests from the shell, and I almost got it working:
iex(2)> ExUnit.start(autorun: false) ...
New
I am trying to run unit tests in a phoenix project. The tests I am writing mock functions that call Ecto.Adapters.SQL.Query() so I do not...
New
Background
Hey guys, recently I bought a book on TDD that I am reading. The books is really nice and has some really juicy things on arch...
New
Is there an easy method of testing whether a particular template was rendered / passed to render. The guides I read all say about matchin...
New
New to elixir, looking for guidance regarding how to test things like IO, File, and System
Whenever I learn a new language, I always mak...
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 prefer to have my unit tests next to the source file instead of a separate folder. when i run mix test it runs the tests only within t...
New
I was handed a project build in elixir which sends out notifications from different products in the organization using Sendgrid. One of m...
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
- #exunit
- #elixirconf
- #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
- #distillery
- #api
- #processes
- #forms
- #metaprogramming
- #security
- #performance
- #hex







