Class: FluentCommandBuilder::NUnit::V25::NUnit
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::NUnit::V25::NUnit
show all
- Defined in:
- lib/fluent_command_builder/command_builders/nunit_25.rb
Instance Method Summary
collapse
Methods inherited from CommandBase
#configure!, #execute!, #to_s
Constructor Details
#initialize(underlying_builder, input_files = nil) ⇒ NUnit
Returns a new instance of NUnit.
24
25
26
27
|
# File 'lib/fluent_command_builder/command_builders/nunit_25.rb', line 24
def initialize(underlying_builder, input_files=nil)
super underlying_builder
@b.append " #{@b.format input_files}" unless input_files.nil?
end
|
Instance Method Details
#config(config) {|@b| ... } ⇒ Object
48
49
50
51
52
|
# File 'lib/fluent_command_builder/command_builders/nunit_25.rb', line 48
def config(config)
@b.append " -config:#{@b.format config}"
yield @b if block_given?
self
end
|
#domain(domain) {|@b| ... } ⇒ Object
103
104
105
106
107
|
# File 'lib/fluent_command_builder/command_builders/nunit_25.rb', line 103
def domain(domain)
@b.append " -domain:#{@b.format domain}"
yield @b if block_given?
self
end
|
#err(file) {|@b| ... } ⇒ Object
73
74
75
76
77
|
# File 'lib/fluent_command_builder/command_builders/nunit_25.rb', line 73
def err(file)
@b.append " -err:#{@b.format file}"
yield @b if block_given?
self
end
|
#exclude(category) {|@b| ... } ⇒ Object
93
94
95
96
97
|
# File 'lib/fluent_command_builder/command_builders/nunit_25.rb', line 93
def exclude(category)
@b.append " -exclude:#{@b.format category}"
yield @b if block_given?
self
end
|
#fixture(fixture) {|@b| ... } ⇒ Object
33
34
35
36
37
|
# File 'lib/fluent_command_builder/command_builders/nunit_25.rb', line 33
def fixture(fixture)
@b.append " -fixture:#{@b.format fixture}"
yield @b if block_given?
self
end
|
#framework(framework) {|@b| ... } ⇒ Object
108
109
110
111
112
|
# File 'lib/fluent_command_builder/command_builders/nunit_25.rb', line 108
def framework(framework)
@b.append " -framework:#{@b.format framework}"
yield @b if block_given?
self
end
|
#help {|@b| ... } ⇒ Object
143
144
145
146
147
|
# File 'lib/fluent_command_builder/command_builders/nunit_25.rb', line 143
def help
@b.append ' -help'
yield @b if block_given?
self
end
|
#include(category) {|@b| ... } ⇒ Object
88
89
90
91
92
|
# File 'lib/fluent_command_builder/command_builders/nunit_25.rb', line 88
def include(category)
@b.append " -include:#{@b.format category}"
yield @b if block_given?
self
end
|
28
29
30
31
32
|
# File 'lib/fluent_command_builder/command_builders/nunit_25.rb', line 28
def input_files(input_files)
@b.append " #{@b.format input_files}"
yield @b if block_given?
self
end
|
#labels {|@b| ... } ⇒ Object
78
79
80
81
82
|
# File 'lib/fluent_command_builder/command_builders/nunit_25.rb', line 78
def labels
@b.append ' -labels'
yield @b if block_given?
self
end
|
#load(fixture) {|@b| ... } ⇒ Object
38
39
40
41
42
|
# File 'lib/fluent_command_builder/command_builders/nunit_25.rb', line 38
def load(fixture)
@b.append " -load:#{@b.format fixture}"
yield @b if block_given?
self
end
|
#no_dots {|@b| ... } ⇒ Object
138
139
140
141
142
|
# File 'lib/fluent_command_builder/command_builders/nunit_25.rb', line 138
def no_dots
@b.append ' -noDots'
yield @b if block_given?
self
end
|
#no_logo {|@b| ... } ⇒ Object
133
134
135
136
137
|
# File 'lib/fluent_command_builder/command_builders/nunit_25.rb', line 133
def no_logo
@b.append ' -noLogo'
yield @b if block_given?
self
end
|
#no_shadow {|@b| ... } ⇒ Object
113
114
115
116
117
|
# File 'lib/fluent_command_builder/command_builders/nunit_25.rb', line 113
def no_shadow
@b.append ' -noShadow'
yield @b if block_given?
self
end
|
#no_thread {|@b| ... } ⇒ Object
118
119
120
121
122
|
# File 'lib/fluent_command_builder/command_builders/nunit_25.rb', line 118
def no_thread
@b.append ' -noThread'
yield @b if block_given?
self
end
|
#out(file) {|@b| ... } ⇒ Object
68
69
70
71
72
|
# File 'lib/fluent_command_builder/command_builders/nunit_25.rb', line 68
def out(file)
@b.append " -out:#{@b.format file}"
yield @b if block_given?
self
end
|
#output(file) {|@b| ... } ⇒ Object
63
64
65
66
67
|
# File 'lib/fluent_command_builder/command_builders/nunit_25.rb', line 63
def output(file)
@b.append " -output:#{@b.format file}"
yield @b if block_given?
self
end
|
#process(process) {|@b| ... } ⇒ Object
98
99
100
101
102
|
# File 'lib/fluent_command_builder/command_builders/nunit_25.rb', line 98
def process(process)
@b.append " -process:#{@b.format process}"
yield @b if block_given?
self
end
|
#run(test) {|@b| ... } ⇒ Object
43
44
45
46
47
|
# File 'lib/fluent_command_builder/command_builders/nunit_25.rb', line 43
def run(test)
@b.append " -run:#{@b.format test}"
yield @b if block_given?
self
end
|
#timeout(timeout) {|@b| ... } ⇒ Object
123
124
125
126
127
|
# File 'lib/fluent_command_builder/command_builders/nunit_25.rb', line 123
def timeout(timeout)
@b.append " -timeout:#{@b.format timeout}"
yield @b if block_given?
self
end
|
#trace(level) {|@b| ... } ⇒ Object
83
84
85
86
87
|
# File 'lib/fluent_command_builder/command_builders/nunit_25.rb', line 83
def trace(level)
@b.append " -trace:#{@b.format level}"
yield @b if block_given?
self
end
|
#wait {|@b| ... } ⇒ Object
128
129
130
131
132
|
# File 'lib/fluent_command_builder/command_builders/nunit_25.rb', line 128
def wait
@b.append ' -wait'
yield @b if block_given?
self
end
|
#xml(file) {|@b| ... } ⇒ Object
53
54
55
56
57
|
# File 'lib/fluent_command_builder/command_builders/nunit_25.rb', line 53
def xml(file)
@b.append " -xml:#{@b.format file}"
yield @b if block_given?
self
end
|
#xml_console {|@b| ... } ⇒ Object
58
59
60
61
62
|
# File 'lib/fluent_command_builder/command_builders/nunit_25.rb', line 58
def xml_console
@b.append ' -xmlConsole'
yield @b if block_given?
self
end
|