2 ms·
As I mentioned in the post, > Now, I should say that I almost never use 2.days, but the point is that it’s a benchmark of expressiveness: if you can write it,
by steveklabnik 13y ago
As I mentioned in the post,
> Now, I should say that I almost never use 2.days, but the point is that it’s a benchmark of expressiveness: if you can write it, you can do all sorts of other flexible things.
I tend to use MiniTest, not RSpec. But I'm very glad RSpec can be built.
- danneu 13y agoI use https://github.com/sconover/wrong https://github.com/sconover/wrong with MiniTest which might qualify as another example of Ruby "tricks" to achieve a different interpretation of expressiveness. The result is the ability to express assert { :apple == :orange } assert { [:apple, :banana, :pear].include? :orange } and let the computer figure out the appropriate error message and expected-vs-actual diff.