I am pleased to release my first version of my IronRuby csproj runner
In short, it become obvious after trying to test a relatively large
that manually adding all the “requires” was going to be an absolute
So I decided to write a small app that reads in a .csproj and uses the
and some reflection to gather in all the required assemblies. The
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
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
Additionally, the spec folder has tests which actually test the .net
assemblies for the project. They aren’t all complete, but you can take
peek if you’d like
** In order to run the spec tests you have to copy the CmdParser.dll
the /bin/ folder of IronRuby itself.