What is the best way to build a .NET solution and run MbUnit tests using Rake?
I’m currently invoking commands directly like this:
sh "#{DOT_NET_PATH}msbuild.exe /p:Configuration=#{CONFIG} #{SOLUTION}"
This works but seems a bit rubbish. Are there any gems people would recommend using?
I just started using albacore which is available on http://github.com/derickbailey/Albacore.
Full docs at the wiki
Your task for executing a build is this simple:
Want to execute unit tests?
UPDATE:
Check out this May 2010 article for a very comprehensive tutorial.