Latest #unit-testing Threads Top

mr_smith
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
James_E
I see that the current ExUnit source code has support for rich failure messages on a small whitelist of “recognized” assertion patterns, ...
New
James_E
Considering that the order of Map keys isn’t guaranteed, is there any reliable way to check KeyErrors in doctests? Doctest failed: wron...
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
D4no0
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
shahryarjb
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
Hellowman
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
coen.bakker
In an interview of José by Theo Browne, they mention the importance of “good” tests, in contrast to “bad” ones. Specifically, they start...
New
zac
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
Guelor
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 Top

This Month's Trending Top

This Year's Trending Top

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
James_E
I see that the current ExUnit source code has support for rich failure messages on a small whitelist of “recognized” assertion patterns, ...
New
James_E
Considering that the order of Map keys isn’t guaranteed, is there any reliable way to check KeyErrors in doctests? Doctest failed: wron...
New
mr_smith
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 Top

RoboZoom
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
coen.bakker
In an interview of José by Theo Browne, they mention the importance of “good” tests, in contrast to “bad” ones. Specifically, they start...
New
SArthur
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
Hellowman
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
onurozgurozkan
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
zac
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
D4no0
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
Guelor
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
shahryarjb
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 Top

Korbin73
I’m trying to set the header with an addition value in a phoenix unit (integration) test: @tag integration: true test "should record ...
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
roynalnaruto
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
tmbb
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
_Seyed
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
protoboolean
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
jeremyowensboggs
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
bokner
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
hauks96
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
Fl4m3Ph03n1x
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
silverdr
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
SeanShubin
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
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
andym
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
Neeraj
I was handed a project build in elixir which sends out notifications from different products in the organization using Sendgrid. One of m...
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