[Ironruby-core] Code review? Shameless plug? Either or :)

andrew Wilson a.wilson82 at gmail.com
Wed Jan 13 17:35:19 EST 2010


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



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.


When I wrote this, only God and I understood what I was doing.  Now, God
only knows - Karl Weierstrass
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100113/a9d2a4f8/attachment.html>

More information about the Ironruby-core mailing list