This Week's Trending Top

This Month's Trending Top

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

This 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
stevegrossi
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
caslu
I added Pow to my application using this guide because i have a JSON api structure, but after integrate with pow, my controller tests bro...
New
sodapopcan
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
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
mbarekTrismegistus
<?xml version="1.0"?> <!DOCTYPE tsung SYSTEM "tsung-1.0.dtd"> <tsung loglevel="warning" version="1.0"> <clients...
New
mpoeter
I am working for ArangoDB, a multi-model database implemented in C++. We have a huge number of integration/system tests that are written ...
New
sodapopcan
From the portal docs: Because portals use elements under the hood, you cannot query for elements inside of a portal when using Phoenix...
New
ashrafhasson
Hello all, I’m trying to run the liveview update test below test "updates branch in listing", %{conn: conn, branch: branch} do ...
New

Last Three Year's Trending Top

JDanielMartinez
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
boriscy
I have this code in my controller def create(conn, %{"order" => order_params}) do order_params = get_params(conn, order_params)...
New
phtrivier
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 possib...
New
gianthamster
I’m working on a multiple-choice quiz application that uses LiveView for its interface. The questions are randomly selected from a larger...
New
coladarci
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
Softknobs
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
ntd23
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
Jcambass
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
grangerelixx
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
ug0
I have code to do bulk insert which looks like this: stream = build_attrs_stream() Repo.transaction(fn -> stream |> Stream.ch...
New
ravernkoh
How do I test some code if a browser session with some user data inside (perhaps from Guardian) is required? How do I get that session da...
New
Allyedge
Is there a way to add new fields to phx.gen.auth easier? I added an username field and it works just fine, but it took quite a time and ...
New
kostonstyle
Hi all Can someone please explain me what the tags mean here? setup tags do {:ok, conn: Phoenix.ConnTest.build_conn()} end Thanks
New
Guy14
Hello, After a following several get started tutorials and trying a few things, I’m seriously considering migrating my project to Ash fr...
New
apoorv-2204
How can I do a security audit of my elixir code base? I have used sobelow static analysis.What are d/f Penetration testing tools for elix...
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
Fl4m3Ph03n1x
Background Let’s assume I have a typical GenServer that receives messages as requests, does some operation in a DB and returns responses....
New
Fl4m3Ph03n1x
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
Hris
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
praveenperera
Theres a new tool for acceptance testing called Wallaby, I was wondering if anyone has experience with it. I was specifically wondering h...
New
nelsonic
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
axelson
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
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
chvanikoff
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
ThrashAbaddon
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
vivus-ignis
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 s...
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
tompave
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
oboudry
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
  • Follow
  • Join
  • Shape
the conversation

Latest on Elixir Forum

Elixir Forum ❯

Similar Portals

    None added yet

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews