rc3.org

Strong opinions, weakly held

What I hate about RSpec

This is not developer-friendly:

response.should be_success

Unless you have fully internalized RSpec, it is nigh impossible to know where the space, underscore, and period go. The goal is to come up with code that looks like sentences but the end result is to come up with something a non-developer can read but that developers shouldn’t have to write.

2 Comments

  1. “something a non-developer can read but that developers shouldn’t have to write.”

    Someone reinvented COBOL?

  2. I never understood the appeal of RSpec either. For starters, how many non-coders need to look at your test cases in the first place? My guess is few to none.

Leave a Reply

Your email address will not be published.

*

© 2024 rc3.org

Theme by Anders NorenUp ↑