Skip to content

Instantly share code, notes, and snippets.

@mxriverlynn
Created February 10, 2010 16:03
Show Gist options
  • Save mxriverlynn/300470 to your computer and use it in GitHub Desktop.
Save mxriverlynn/300470 to your computer and use it in GitHub Desktop.
nunit :unittests do |nunit|
#you can set the working directory using nunit.command_directory - poorly named, i know. will fix that in next release.
nunit.command_directory = "src/tests/bin/release/"
#note: the path_to_command is relative to the working directory
nunit.path_to_command = "../../../../nunit/nunit-console.exe"
#note: the path to the assemblies is also relative to the working directory
nunit.assemblies "tests.dll"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment