Sha256: cf6eb85855afdd0543bb66892dfa48a4137cdc1637c0de2450cb389a820eaa9d
Contents?: true
Size: 361 Bytes
Versions: 2
Compression:
Stored size: 361 Bytes
Contents
require 'rake/tasklib' def xunittask(name=:xunit, *args, &block) Albacore::XUnitTask.new(name, *args, &block) end module Albacore class XUnitTask < Albacore::AlbacoreTask def execute(task_args) @xunit = XUnitTestRunner.new @block.call(@xunit, *task_args) unless @block.nil? @xunit.execute fail if @xunit.failed end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
albacore-0.0.9 | lib/rake/xunittask.rb |
albacore-0.0.8 | lib/rake/xunittask.rb |