← Back to context

Comment by thiago_fm

3 years ago

The ruby example is wrong in so many levels.

You'd write a test like that in RSpec if you want to reuse it for other examples. The other example they present in Ruby, is what you would write if you were using Ruby std lib testing library.

It doesn't make the test any better or more "joyful".

Also the REPL-like experience their library has actually sucks.

I don't see any value, and if you don't find writing tests to be a joyful experience before that library was created, I don't see how you will see once you have that library.