4 ms·
> * This DSL: `describe(){ it "should work" { result.should eq true } }`, is nuts and counter productive. People are already not writing tests and you are addin
by arduinomancer 6y ago
> * This DSL: `describe(){ it "should work" { result.should eq true } }`, is nuts and counter productive. People are already not writing tests and you are adding another friction?
Completely agree.
I have no idea why test libraries are so intent on making the test names readable as english sentences, it feels very awkward compared to just naming test methods.
- YorickPeterse 6y agoWhile I'm not a fan of DSLs as seen in Ruby's RSpec, I do enjoy being able to write regular sentences as test names; provided you don't have to stick with the pattern "it is expected to ...".