Latest #testing Threads 
Tired of waiting for slow Ecto sandbox tests ?
At work, we have 45,000 tests - taking 12 minutes on a fast laptop and ~45 minutes of ela...
New
Wallabidi is a concurrent browser testing for Elixir. You write a test once and it runs on the cheapest driver that supports it — from an...
New
Skuld started out as a limited exploratory project, and then it snowballed…
Most Elixir apps have a layer of orchestration code bridging...
New
Ł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
I wanted to write down some of the main guides I use when writing Elixir tests, so I have summarised them in blogpost.
Furthermore, I th...
New
Episode 301 of Thinking Elixir. News includes Phoenix LiveDebugger hitting v1.0 with an interactive tour to go along with it, LiveStash v...
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
Thanks to Brian @bglusman who provided a very valuable PR to this library, I am to introduce the mutation-testing library for BEAM langua...
New
Perhaps oddly, this is the first time I’ve hit this situation in Elixir: I would like to test that a function has only been called once. ...
New
<?xml version="1.0"?>
<!DOCTYPE tsung SYSTEM "tsung-1.0.dtd">
<tsung loglevel="warning" version="1.0">
<clients...
New
This Week's Trending
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
We just published PaperTiger, a mock Stripe server we built to solve real pain points in our test suite.
The Problem
Testing Stripe int...
New
Wallabidi is a concurrent browser testing for Elixir. You write a test once and it runs on the cheapest driver that supports it — from an...
New
Tired of waiting for slow Ecto sandbox tests ?
At work, we have 45,000 tests - taking 12 minutes on a fast laptop and ~45 minutes of ela...
New
This Year's Trending
Title says all!
Is it possible to manually mark tests as incomplete or skipped in ExUnit, in the middle of a test case?
New
Hi again ppl,
I really like the idea of test my private functions, mainly after read this article of @pragdave, but the library that he...
New
Testcontainers
Testcontainers is an Elixir library that supports ExUnit tests, providing lightweight, throwaway instances of common datab...
New
PhoenixTest provides a unified way of writing feature tests – regardless of whether you’re testing LiveView pages or static pages.
It al...
New
Efx is a library to define and test side effects declaratively. It is basically a very focused mocking framework, reducing implementation...
New
I’m currently in the process of taking over a very large codebase in my new job and already did my first simple changes within a day ago ...
New
I'm using Wallaby (0.17.0) for acceptance tests with phantomjs (2.1.1), and the latest Elixir (1.4.5) and Erlang (20). I've written a few...
New
Hi everyone,
I’m curious how people in the Elixir community are approaching evaluation frameworks for AI applications, whether you’re us...
New
Claude Code Plugin for Elixir: Custom Skills and Hooks for Better Code
Quality
I’ve been experimenting with Claude Code for Elixir devel...
New
SeedFactory - a toolkit for test data generation
GitHub | docs | Hex.pm
The main idea of SeedFactory is to generate test data by calling...
New
I wanted to write down some of the main guides I use when writing Elixir tests, so I have summarised them in blogpost.
Furthermore, I th...
New
Background
I have an umbrella project, where I run mix test from the root.
In one of the apps, I am mocking the File module using the Mo...
New
Hey, Elixir Forum. I’m excited to introduce LiveCapture, a storybook-like library for Phoenix LiveView components.
I like having stories...
New
I think scala testing libraries has an operator for tests that checks some condition eventuallt evaluates to true (with an implicit timeo...
New
Thanks to Brian @bglusman who provided a very valuable PR to this library, I am to introduce the mutation-testing library for BEAM langua...
New
Last Three Year's Trending
Hi! May someone helps me, please!
I have two apps into an umbrella project: the first one is Database, which manages queries, and the se...
New
I have this code in my controller
def create(conn, %{"order" => order_params}) do
order_params = get_params(conn, order_params...
New
I have a seed.exs and I want to use it before mix test to seed db and then use that data inside tests. How do I do that?
New
Should it be safe to use Application put/get env in multiple tests ? Assuming I "clean" the env at the setup of each tests, is it possibl...
New
I’m working on a multiple-choice quiz application that uses LiveView for its interface. The questions are randomly selected from a larger...
New
:wave: Hi there,
I’ve been working on a Test-Driven Development with Phoenix book. It teaches TDD and BDD by building a chat app from th...
New
I’m trying to test a Phoenix phx-click event which, after being clicked, adds a flash message to the socket of a Live view: put_flash (),...
New
Hello, all!
I’m curious if anyone has ideas/experience around the best ways to go about testing live view components. Obviously you can ...
New
Hi,
I cannot figure out how to test some LiveComponents simulating the actual events that would be sent by the user.
In my case, the Li...
New
I’m writing some tests and I want to build a “common language” for writing test tags. I’m using this post to document my findings as I le...
New
I’m still in a learning phase regarding testing in Elixir, and yesterday I was trying to understand the common patterns to mock built-in ...
New
Hi there,
I’ve recently added end-to-end testing to my phoenix application. I quickly tried setting up hound but then ended up using wal...
New
I’d like to announce Mneme, a snapshot testing tool I’ve been working on.
Docs
Hex
GitH...
New
I have a LiveView page that returns a list of students names and ids sorted in a table.
In test,
{:ok, index, html} = live(conn, Routes...
New
TL;DR: library to conveniently spawn throwaway docker containers for your integration/functional tests. Not stable yet. Written by an Eli...
New
Trending Over Three Years
I have an umbrella app.
Some of the apps inside depend on other apps in the umbrella, unsurprisingly.
I'm writing a test for one of t...
New
ExUnit now has describe blocks which is a welcome addition coming from RSpec. In the docs, it states that nested hierarchies of describe ...
New
Background
Let’s assume I have a typical GenServer that receives messages as requests, does some operation in a DB and returns responses....
New
Background
I have a test suite and I need to know the coverage of the project.
I have played around with mix test --cover but I find the...
New
Using Guardian for register/login.
I am getting this error when I try to log in:
[info] Sent 401 in 819ms
[error] #PID<0.440.0> r...
New
Theres a new tool for acceptance testing called Wallaby, I was wondering if anyone has experience with it. I was specifically wondering h...
New
This is a bit of a “strange” question but please bare with me; I expect it will be useful/insightful to others learning Elixir/Phoenix wa...
New
Given these two maps:
map1 = %{a: 1}
map2 = %{a:1, b: 2}
This works fine:
%{a: 1} = map2
But these do not:
iex> ^map1 = map2
*...
New
In order to update a last_seen field when a User leaves their UserChannel, I am starting a GenServer, on join, that monitors the User's U...
New
Hi, I'm in need to test that some process (in my particular case, it's a Phoenix channel) receives some message from another process (via...
New
Hello there!
I have a mix task which grabs some data from a remote API, collects it into a file (a biggish xml), then sucks it in as a ...
New
Background
I have a test file with several describe blocks, each one with a custom setup block, like the following:
defmodule MyAppTest ...
New
Hello
I’m opening this thread to ask some questions about testing practices when dealing with values set at compile time. I’m working w...
New
I can see Logger outputs from my test scripts, but when I add Logger statements into the tested application, these won't show during the ...
New
Is it possible to write a script file that launches the Elixir console, and then compiling files and finally execute a function from a co...
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







