Sha256: 022f89d0cc74a4871ecdcb8b06642e1111f9de073e70c7daf2ec2d1f8ac7cea4

Contents?: true

Size: 509 Bytes

Versions: 9

Compression:

Stored size: 509 Bytes

Contents

module Logirel::Tasks
  def xunit_task(xunit_exe_folder=nil, opts={})
    xunit_exe_folder = tuck_and_get :xunit_exe_folder, xunit_exe_folder

    append_to_file BUILD_FILE, <<-EOF, :verbose => false

desc "Run tests with XUnit"
xunit #{ inject_task_name opts, 'xunit' }#{ inject_dependency opts } do |xunit|
  xunit.command = "#{xunit_exe_folder || 'tools/xunit'}/xunit.console.exe"
  xunit.assembly "#{ vars[:solution].find_project(:output=>'TEST_ASSEMBLY') { |p| p.test? }.output }"
end
    EOF

  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
logirel-0.1.6 lib/logirel/tasks/xunit.rb
logirel-0.1.5 lib/logirel/tasks/xunit.rb
logirel-0.1.4 lib/logirel/tasks/xunit.rb
logirel-0.1.3 lib/logirel/tasks/xunit.rb
logirel-0.1.2 lib/logirel/tasks/xunit.rb
logirel-0.1.1 lib/logirel/tasks/xunit.rb
logirel-0.1.0 lib/logirel/tasks/xunit.rb
logirel-0.0.18 lib/logirel/tasks/xunit.rb
logirel-0.0.17 lib/logirel/tasks/xunit.rb