# Code review? Shameless plug? Either or :)

**URL:** <https://www.ruby-forum.com/t/code-review-shameless-plug-either-or/181572>\
**Category:** IronRuby\
**Created:** [January 13, 2010, 11:40pm UTC](https://www.ruby-forum.com/t/code-review-shameless-plug-either-or/181572 "2010-01-13T23:40:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrew\_Wilson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/278dde/32.png) [@andrew\_Wilson](https://www.ruby-forum.com/u/andrew_Wilson)\
**Post date:** [January 13, 2010, 11:40pm UTC](https://www.ruby-forum.com/t/code-review-shameless-plug-either-or/181572/1 "2010-01-13T23:40:46Z")

</div>

All,

I am pleased to release my first version of my IronRuby csproj runner  
tool.  
In short, it become obvious after trying to test a relatively large  
project  
that manually adding all the “requires” was going to be an absolute  
pain.  
So I decided to write a small app that reads in a .csproj and uses the  
XML  
and some reflection to gather in all the required assemblies. The  
result is  
an emited spec\_helper.rb file so you can quickly load up your .net  
environment for testing.

The basic syntax is:

rspec\_project\_runner.exe -T “target.csproj” -R -O “output/dir/path”

the -R is a recursive call so that if your target project has any other  
project references it will walk them and emit a helper\_spec file for  
each  
one. Otherwise it will just grab a copy of the assembly.

Please let me know if you run into any bugs or whatnot. I would love  
the  
feedback

Source:

[http://github.com/andrewjwilson/IronRuby-Rspec-Csproj-Runner](http://github.com/andrewjwilson/IronRuby-Rspec-Csproj-Runner)

Additionally, the spec folder has tests which actually test the .net  
assemblies for the project. They aren’t all complete, but you can take  
a  
peek if you’d like

\*\* In order to run the spec tests you have to copy the CmdParser.dll  
into  
the /bin/ folder of IronRuby itself.

Thanks,  
Andrew
