Sha256: 83405db1fd4ce5611cfb1e473573e08f84c59c71ffc1b7111edd677fdf31d822
Contents?: true
Size: 740 Bytes
Versions: 1
Compression:
Stored size: 740 Bytes
Contents
require 'albacore/support/albacore_helper' class MSpecTestRunner include Logging include YAMLConfig attr_accessor :assemblies, :path_to_command, :html_output def initialize(path_to_command) super() @path_to_command = path_to_command @assemblies=[] end def get_command_line command = [] command << @path_to_command command << build_assembly_list unless @assemblies.empty? command << build_html_output unless @html_output.nil? cmdline = command.join(" ") @logger.debug "Build MSpec Test Runner Command Line: " + cmdline cmdline end def build_assembly_list @assemblies.map{|asm| "\"#{asm}\""}.join(" ") end def build_html_output "--html #{@html_output}" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
albacore-0.0.7 | lib/albacore/mspectestrunner.rb |