How to Run Each Test or Spec One by One

On my new project we had the problem that some specs failed when ran on their own, and some specs produces strange output (like “use object_id”), so I build a helper that runs each test on its own and could pinpoint the problem.

rake spec:one_by_one

it is now included in the single test rails plugin

Leave a comment