# Code Review: utr

**URL:** <https://www.ruby-forum.com/t/code-review-utr/179963>\
**Category:** IronRuby\
**Created:** [December 8, 2009, 9:26pm UTC](https://www.ruby-forum.com/t/code-review-utr/179963 "2009-12-08T21:26:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![raker\_t](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ecae2f/32.png) [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Post date:** [December 8, 2009, 9:26pm UTC](https://www.ruby-forum.com/t/code-review-utr/179963/1 "2009-12-08T21:26:14Z")

</div>

I would like to get this reviewed by Dave or Shri before I submit if  
they can get to email.

JD

tfpt review “/shelveset:utr;REDMOND\jdeville”  
Comment :  
Unifies the test runner for Test::Unit. I’ve really just removed the  
duplication found in the various \*Tests.rb files in Ruby\Tests\Scripts.  
I’ve adjusted all affected scripts:

- irtests
- generate\_test-unit\_tags.rb
- rake.generictest
- rubygems.generictest

Usage of utr:  
utr testname will run the tests setup by the file testname\_tests.rb,  
thus utr gem will run the Gem tests. Passing the -all flag will ignore  
the skipped tests and run all tests, this currently doesn’t work for  
gems, but I will be removing our custom skips and going back to the  
monkeypatching model. Eventually, I will implement a -list flag to list  
all tests utr can see.

---

<div class="post-metadata">

**Author:** ![raker\_t](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ecae2f/32.png) [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Post date:** [December 29, 2009, 3:03pm UTC](https://www.ruby-forum.com/t/code-review-utr/179963/2 "2009-12-29T15:03:20Z")

</div>

I know I was having issues with python tests while you were gone, but  
that wasn’t one of them. I don’t know how it got disabled. Sorry.

JD
