Class: Raykit::NUnit

Inherits:
Object
  • Object
show all
Defined in:
lib/raykit/nunit.rb

Class Method Summary collapse

Class Method Details

.nunit3console_path(version) ⇒ Object



3
4
5
6
7
8
9
10
11
# File 'lib/raykit/nunit.rb', line 3

def self.nunit3console_path(version)
  # C:\Users\lparslow\.nuget\packages\nunit.consolerunner\3.15.0\tools
  path = "#{Environment.home_dir}/.nuget/packages/nunit.consolerunner/#{version}/tools"
  if Dir.exist?(path)
    path
  else
    ""
  end
end