-
Thanks :)
-
## The problem
When a doctest fails, the information provided just points to the function declaration and does not include a useful stacktrace to locate the source of the error. This is in contrast w…
-
Hi all, I'm pretty new to Elixir and using this Koans to learn more about the language and I stumbled on the following issue (while meditating about "Assertions are smart"):
- The `assert` function do…
-
Today, we want at least to assert three things in a controller test:
1. What is the status code
2. What is the content type
3. What is the response body
The only way to do this if with 3 assertions t…
-
Any test using `assert_compile_fail` which should fail instead crashes the test suite.
The stacktrace is along the lines of:
```
............................................
08:20:34.828 [error] G…
-
Ran into various (non-weber-related) conflicts with 0.13 series which were resolved by moving to Elixir 0.13.2-dev.
However, I now see this error when running 'make test'
```
test/test_helper.exs:9…
-
When an assertion fails in a teardown function this is not reported.
## How to reproduce
Put this in a file and run it:
``` elixir
ExUnit.start
defmodule TeardownTest do
use ExUnit.Case
def te…
-
@alexrp opened #1568 and #1564, here is a list tracking all warnings generated by analysing elixir with a R16B01 based plt:
```
lib/elixir/lib/code.ex:261: Function load_file/2 has no local return
li…
-
This works fine:
```
iex(1)> {1, nil, } = {1, nil, "abc"}
{1, nil, "abc"}
```
This doesn't:
```
iex(1)> require ExUnit.Assertions
nil
iex(2)> ExUnit.Assertions.assert {1, nil, "abc"} = {1, nil, "ab…
alco updated
11 years ago
-
Down to 8 errors...
```
Failures:
1) test_absname_with_binary (PathTest)
** (ExUnit.ExpectationError)
expected: "c:/foo/bar"
to be equal to (==): "/foo/bar"
at t…