← Back to Upcase

Testing in Isolation


(Upcase ) #1

Joël Quenneville presents the why, what, and how of testing in isolation!


This is a companion discussion topic for the original entry at https://thoughtbot.com/upcase/videos/testing-in-isolation

(Tom Freudenheim) #2

I am writing an app that uses rails and vue.js, so all of the rails logic is in API’s.

How should I split testing between request specs and controller specs? Should I do all of the integration tests in request specs?

It seems that request tests and controller tests are pretty much at the same level. What if anything should I put in controller tests – (I realize that they don’t render output by default).