Latest #exunit Threads Top

halostatue
I’ve published CaptureLogger 1.0, a very light modification to ExUnit.CaptureLogger (mostly to ExUnit.CaptureServer) that supports passin...
New
b1az
Coworker and I are at an impasse and would appreciate the community’s vote to resolve it. :slight_smile: poll Elixir’s test-runner has a...
#ci
New
pajawa
I am trying to run a parameterize’d test with both a :group set and async: true. The ExUnit docs state: “If both :async and :parameteriz...
New
waseigo
Use IEx before ExUnit, don’t test private functions, test what matters, test the contracts, avoid dogma
New
williamthewill
Hi everyone! I need make a controller tests to validate mandatory fields. In this case the tests is the same for all fieds and the valid...
New
senconscious
Hello everyone, I have encountered a strange bottleneck when trying to run tests. The execution time of specific tests was increasing ac...
New
wingyplus
Hi, I would like to introduced allure_test_formatter, the Allure test report for ExUnit using ExUnit Test Formatter. The usage is simple...
New
lud
Hello, I was trying to figure out why my logger configuration is not used when running the tests with mix test --no-start and a manual a...
New
tcoopman
some context, I’m running helix+tmux and have some shortcuts to run my tests. I’ve configured some shortcuts like: run line, run file, ru...
New
lessless
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

This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

jarlah
Testcontainers Testcontainers is an Elixir library that supports ExUnit tests, providing lightweight, throwaway instances of common datab...
New
axelson
Is anyone using any sort of tool to produce machine readable output from exunit when using GitHub actions? In the past with CircleCI I’v...
New
ananthakumaran
An ExUnit formatter to visualize test execution and find bottlenecks in your test suite. I created a small library called ex_unit_spa...
New
lessless
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
waseigo
Use IEx before ExUnit, don’t test private functions, test what matters, test the contracts, avoid dogma
New
b1az
Coworker and I are at an impasse and would appreciate the community’s vote to resolve it. :slight_smile: poll Elixir’s test-runner has a...
#ci
New
lud
Hello, I was trying to figure out why my logger configuration is not used when running the tests with mix test --no-start and a manual a...
New
williamthewill
Hi everyone! I need make a controller tests to validate mandatory fields. In this case the tests is the same for all fieds and the valid...
New
wingyplus
Hi, I would like to introduced allure_test_formatter, the Allure test report for ExUnit using ExUnit Test Formatter. The usage is simple...
New
halostatue
I’ve published CaptureLogger 1.0, a very light modification to ExUnit.CaptureLogger (mostly to ExUnit.CaptureServer) that supports passin...
New
pajawa
I am trying to run a parameterize’d test with both a :group set and async: true. The ExUnit docs state: “If both :async and :parameteriz...
New
senconscious
Hello everyone, I have encountered a strange bottleneck when trying to run tests. The execution time of specific tests was increasing ac...
New

Last Three Year's Trending Top

sebastiandedeyne
Title says all! Is it possible to manually mark tests as incomplete or skipped in ExUnit, in the middle of a test case?
New
bmarkons
Hi, I have one basic question. Is there a way to get the list of failed tests at the end of mix test output? Do you have to come up wit...
New
Laetitia
Hi everybody, i have an issue with my test suite. When i run each test separatly, everything is ok but in the whole test suite i have so...
New
thepeoplesbourgeois
Hi Forum, Has anyone writing doctests found a way to update their examples that produce ArgumentErrors to capture the new multiline form...
New
zachallaun
Hi friends, I’m working on a contribution to Finch and am having a hell of a time debugging an unexpected process exit that’s causing a ...
New
freewebwithme
I need some help to understand writing test for async function For example I have a function def send_notification({:ok, nessage}, to, ...
New
ream88
I recently encountered an issue where a partial or functional component was re-rendered multiple times, resulting in an inline function c...
New
lud
I’m trying to build a protocol and a test suite to implement different adapters (impls of the protocol). I tried to use a CaseTemplate, ...
New
crisdegraciadev
Hey guys, I’m relatively new to Elixir world. Currently I’m working on a GraphQL API with Absinthe. All is going right, I have done some...
New
jswny
I’m using the following library: https://github.com/elixir-wallaby/wallaby However, this library is meant for testing only and calls ExU...
New
IwoHerka
Let’s say I’m writing a (rather typical) application using Ecto, which heavily relies on a database. Most features, let’s say, read from...
New
allanegidio
Howdy I’ve been having some problems to test async_nolink function. My mount have a function like that: Task.Supervisor.async_nolink(T...
New
fuelen
SeedFactory is a toolkit for test data generation. The initial version was launched about a year ago. During this time, the library was ...
New
jarlah
Hi! I have recently created, after having tried to get in touch with the creator of excontainers for quite some time, a new library call...
New
AndyL
I’ve got a Genserver that writes messages to stdout. I can’t figure out how to test using capture_io. Documentation says By default, ca...
New

Trending Over Three Years Top

New
chrisalley
ExUnit now has describe blocks which is a welcome addition coming from RSpec. In the docs, it states that nested hierarchies of describe ...
New
icecap
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
Fl4m3Ph03n1x
Background I have a test file with several describe blocks, each one with a custom setup block, like the following: defmodule MyAppTest ...
New
lessless
Hello, The module under test depends on three OTP process and thus they're started in test setup callback: setup do accounts = Te...
New
New
r11na
I’m having difficult figuring out how to stop supervisors running genservers during my tests and I haven’t found any helpful guides onlin...
New
Fl4m3Ph03n1x
Background I have some code that invokes a given function a certain number of times. I pass this function in the parameters so it is easy...
New
polypush135
So I have a module that has a private method. defp encrypt_token(token) do :crypto.hmac(:sha256, BeffectWeb.Endpoint.config(:sec...
New
joshio1
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
fireproofsocks
I’ve been playing round with test fixtures using setup_all, and I’m considering opening a pull request which includes a few more concrete...
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
hazardfn
Hey All, I had a quick question regarding ExUnit - it appears to start your application by default which is a different behaviour to EU...
New
fireproofsocks
This is a problem I’ve come across now and then… in an app, I have a few directories containing .json files (e.g. for example requests or...
New
atimberlake
Today I mapped out a module with a bunch of tests with no function bodies. Each of those is shown as "Not yet implemented" but the test 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