Quantcast
Channel: TDD – Michael Grosser, the Blog
Viewing all articles
Browse latest Browse all 6

How to Run Each Test or Spec One by One

$
0
0

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


Tagged: Plugin, Rails, RSpec, Ruby, TDD, Test

Viewing all articles
Browse latest Browse all 6

Trending Articles