-
**Describe the bug**
On 32-bit systems with high thread counts (N\~120), transient instability in the Elixir test suite surfaces. At even higher thread counts (N\~160), fatal errors are reliably re…
zv-io updated
2 months ago
-
I'm having trouble updating the `SubscriptionCase` the absinthe book uses for testing the subscriptions. How are you testing your subscriptions?
`06-chp.subscriptions/4-publish/test/support/subsc…
-
It would be nice if we got automated tests running on the gateway, so we could check our payload implementations against a common known one.
That test can be written in any language, but I'll try E…
lun-4 updated
7 years ago
-
OptionParser now requires passing the `:switches` or `:strict` option, otherwise it throws a warning everytime it's used. I would like to ask: What is the purpose of using OptionParser to parse the in…
-
**Describe the bug**
Since upgrading to OTP 25/Elixir 1.14, run/debug configurations no longer run in IntelliJ. They fail with the following error
```
** (BadArityError) #Function with arity 3 c…
-
`a_contract_between_doc_and_def/0` below won't get tested or documented, without any warning to that effect:
```elixir
defmodule NormContractVsDoctest do
@moduledoc """
Demonstrates interact…
-
I have channel tests using `Phoenix.ChannelTest` which is broken in ESpec and Phoenix 1.4.0.
It crashes with:
```
** (ArgumentError) could not fetch application environment :refute_receive_time…
-
Elixir 1.14.0
Erlang/OTP 24
The sigil seems to not be working with `ExUnit`'s `assert` macro when used as an argument to a function.
#### To reproduce:
```elixir
defmodule ShorterMapsTest d…
-
```elixir
test_with_params "good", fn p -> p end, do: [{1}]
@params [{1}]
test_with_params "bad", fn p -> p end, do: @params
```
The bad tests throws this error:
```
(Protocol.Undefin…
-
I want to test that I'm able to abort a request that takes too long for any reason.
I decided to use a task to wrap my request, the task is shut down after a timeout.
I use bypass in my test to simu…