4 ms·
There is an RSpec clone called ESpec https://github.com/antonmi/espec https://github.com/antonmi/espec. I've used it in my own applications, however I would pr
by pg_bot 9y ago
There is an RSpec clone called ESpec https://github.com/antonmi/espec https://github.com/antonmi/espec.
I've used it in my own applications, however I would probably not recommend using it as it relies on a feature of the language (tuple modules) that might be removed in the next major version.
Elixir ships with a unit testing library called ExUnit, the documentation for which can be found here. https://hexdocs.pm/ex_unit/ExUnit.html https://hexdocs.pm/ex_unit/ExUnit.html