# How to know which test is currently running?

**URL:** <https://www.ruby-forum.com/t/how-to-know-which-test-is-currently-running/120120>\
**Category:** Rails\
**Created:** [November 13, 2007, 10:33pm UTC](https://www.ruby-forum.com/t/how-to-know-which-test-is-currently-running/120120 "2007-11-13T22:33:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![eric99](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/a88e4f/32.png) [@eric99](https://www.ruby-forum.com/u/eric99)\
**Post date:** [November 13, 2007, 10:33pm UTC](https://www.ruby-forum.com/t/how-to-know-which-test-is-currently-running/120120/1 "2007-11-13T22:33:09Z")

</div>

I have a unit test that seems to be taking a long time (~ 2 minutes),  
but with the “dot dot dot” display, I don’t know which one it is.  
I’ve tried “rake test --trace”, but that only increases the verbosity  
of the setup phase. Is there a way for “rake test” to display the  
test that’s running instead of just dots?

Thanks,  
Eric

---

<div class="post-metadata">

**Author:** ![eric99](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/a88e4f/32.png) [@eric99](https://www.ruby-forum.com/u/eric99)\
**Post date:** [November 14, 2007, 3:50am UTC](https://www.ruby-forum.com/t/how-to-know-which-test-is-currently-running/120120/2 "2007-11-14T03:50:52Z")

</div>

You can always run individual unit tests manually to determine which  
one is causing the problem:

eg: ruby test\unit\<testname\>.rb

Do this for each unit test in turn until you find the culprit.
