1
submitted 1 year ago by Paradox to c/elixir@lemmy.ml

ExUnit is wonderful, and the functional paradigms that underpin Elixir let us write extremely complex tests in a fraction of the code that would be needed in OOP testing frameworks like RSpec.

But it's not all wine and roses. Tests can quickly accrue tons of boilerplate and repetition.

Using some Elixir features, you can cut down on these, and make tests even nicer to write.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here
this post was submitted on 03 Jul 2023
1 points (100.0% liked)

Elixir

157 readers
1 users here now

News & discussion about the Elixir programming language.

founded 4 years ago
MODERATORS