fluent_command_builder 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
@@ -4,9 +4,10 @@ module FluentCommandBuilder
|
|
4
4
|
module DotCover
|
5
5
|
module V11
|
6
6
|
class DotCover
|
7
|
-
def initialize builder
|
7
|
+
def initialize builder, configuration_file=nil
|
8
8
|
@builder = builder
|
9
9
|
@builder.append 'dotCover'
|
10
|
+
@builder.append " #{@builder.format configuration_file}" unless configuration_file.nil?
|
10
11
|
end
|
11
12
|
def cover
|
12
13
|
Cover.new @builder
|
@@ -216,12 +217,12 @@ module FluentCommandBuilder
|
|
216
217
|
@builder.to_s
|
217
218
|
end
|
218
219
|
end
|
219
|
-
def dotcover
|
220
|
-
DotCover.new CommandBuilder.new
|
220
|
+
def dotcover configuration_file=nil
|
221
|
+
DotCover.new CommandBuilder.new, configuration_file
|
221
222
|
end
|
222
223
|
end
|
223
224
|
end
|
224
|
-
def dotcover_11
|
225
|
-
DotCover::V11::DotCover.new CommandBuilder.new
|
225
|
+
def dotcover_11 configuration_file=nil
|
226
|
+
DotCover::V11::DotCover.new CommandBuilder.new, configuration_file
|
226
227
|
end
|
227
228
|
end
|
@@ -6,7 +6,7 @@ module FluentCommandBuilder
|
|
6
6
|
class NUnit
|
7
7
|
def initialize builder, assembly
|
8
8
|
@builder = builder
|
9
|
-
@builder.append "nunit-console #{@builder.format assembly}"
|
9
|
+
@builder.append "nunit-console #{@builder.format assembly, ' '}"
|
10
10
|
end
|
11
11
|
def run test
|
12
12
|
@builder.append " /run:#{@builder.format test}"
|