2 ms·
This really excites me, I’ve not seen much innovation in the testing space for a while now. Please add support for a spec based dsl so all of us rspec fans may
by evolve2k 3y ago
This really excites me, I’ve not seen much innovation in the testing space for a while now.
Please add support for a spec based dsl so all of us rspec fans may make the transition across with much less pain.
Along the lines of minitest spec
https://docs.ruby-lang.org/en/2.0.0/MiniTest/Spec.html https://docs.ruby-lang.org/en/2.0.0/MiniTest/Spec.html
- stouset 3y agoPlease, please don’t. The rspec syntax has been cargo culted along for far too long, and it provides nothing except cutesy, confusing syntax. I say this as someone who has been writing Ruby professionally for something like fifteen years. I used rspec for maybe eight of them. I understand the rspec DSL syntax fully and have no problem writing tests in it. But it should not exist. The only real, valuable thing it brought to the ecosystem was scopes/contexts. Other testing frameworks have that, and there is nothing left but an insane amount of inertia that keeps it going.