Repository metrics
- Stars
- (775 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
I don't understand why you chose to use this for your syntax:
expect actual |> to(eq expected)
rather than this:
expect(actual).to.eq.(expected)
The second seems far more readable to me. Like, obviously the pipe operator is a core part of Elixir to the point that everyone programming in Elixir is going to understand it, but simple English is still more readable, and that goes doubly so when the more English syntax ends up being almost exactly the same as Ruby and close to the same as JavaScript, and triply so when the basic point of this library is to make more readable tests than ExUnit, in a style more like RSpec.