How do we want to test *new* Rails applications? #1294
Replies: 5 comments
-
|
Just as another datapoint, I asked on Blue Sky during Rubyconf what test framework people use and where would they like to see thoughtbot's investment to Rails testing open source go, and it was unanimously "rspec". To the degree that it's "so default" no one ever thinks about it. |
Beta Was this translation helpful? Give feedback.
-
|
In terms of developer experience:
|
Beta Was this translation helpful? Give feedback.
-
In the context of Suspenders, that may not be relevant, since we'd be generating a new application.
There's a whole section in the Guides dedicated to testing, which I personally think is valuable. |
Beta Was this translation helpful? Give feedback.
-
|
I do really like RSpec (I'm with @JoelQ on all of his points).
Yeah. I was thinking about this the other day, when I was, for the nth time going around in circles trying to find something I knew existed in some form but couldn't quite remember. I'm not sure how to go about it (as in: I don't know what improvements I'd make), but it's been bouncing around my head the last few weeks. |
Beta Was this translation helpful? Give feedback.
-
|
I'm currently on a project using the default test suite provided by Rails, and I am finding I can accomplish a lot with Minitest::Mock and #stub. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In #1156 we opted for RSpec over the default test framework.
I think it's good to challenge this decision from time to time, since the decision wasn't unanimous.
Below are some questions that I think could guide this decision.
Beta Was this translation helpful? Give feedback.
All reactions