Class: AlpacaBuildTool::NUnit
- Defined in:
- lib/alpacabuildtool/tools/nunit.rb
Overview
NUnit provides access to nunit-console.exe tool
Instance Attribute Summary
Attributes included from Log
Instance Method Summary collapse
-
#test(project, debug) ⇒ Object
Runs tests from project.
Methods inherited from Tool
Constructor Details
This class inherits a constructor from AlpacaBuildTool::Tool
Instance Method Details
#test(project, debug) ⇒ Object
Runs tests from project
project
-
project file with absolute path
debug
-
set to run test with debug configuration
13 14 15 16 17 18 19 |
# File 'lib/alpacabuildtool/tools/nunit.rb', line 13 def test(project, debug) = @configuration['options'] ['config'] = 'Debug' if debug FileUtils.makedirs ['work'] if ['work'] FileUtils.makedirs File.dirname(['output']) if ['output'] call([, project]) end |