elixir-lang / elixir

Elixir is a dynamic, functional language for building scalable and maintainable applications
https://elixir-lang.org/
Apache License 2.0
24.34k stars 3.36k forks source link

Implement assertions for ExUnit #74

Closed josevalim closed 12 years ago

josevalim commented 12 years ago

And see how we can have better messages with backtraces (including Erlang R15).

josevalim commented 12 years ago

We should bake in a good set of assertions and ensure they show nice error messages in console.

rafaelfranca commented 12 years ago

Is better to use assert_not or refute?

josevalim commented 12 years ago

assert_not, please.

josevalim commented 12 years ago

Actually, I just saw the pull request and refute is fine. :)

josevalim commented 12 years ago

Closing. Thanks to @andrzejsliwa @rafaelfranca @lest !