Class: FluentCommandBuilder::NUnit::V26::NUnit
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::NUnit::V26::NUnit
show all
- Defined in:
- lib/fluent_command_builder/command_builders/nunit_26.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_26.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
#apartment(apartment) {|@b| ... } ⇒ Object
138
139
140
141
142
|
# File 'lib/fluent_command_builder/command_builders/nunit_26.rb', line 138
def apartment(apartment)
@b.append " -apartment:#{@b.format apartment}"
yield @b if block_given?
self
end
|
#cleanup {|@b| ... } ⇒ Object
178
179
180
181
182
|
# File 'lib/fluent_command_builder/command_builders/nunit_26.rb', line 178
def cleanup
@b.append ' -cleanup'
yield @b if block_given?
self
end
|
#config(config) {|@b| ... } ⇒ Object
53
54
55
56
57
|
# File 'lib/fluent_command_builder/command_builders/nunit_26.rb', line 53
def config(config)
@b.append " -config:#{@b.format config}"
yield @b if block_given?
self
end
|
#domain(domain) {|@b| ... } ⇒ Object
133
134
135
136
137
|
# File 'lib/fluent_command_builder/command_builders/nunit_26.rb', line 133
def domain(domain)
@b.append " -domain:#{@b.format domain}"
yield @b if block_given?
self
end
|
#err(file) {|@b| ... } ⇒ Object
93
94
95
96
97
|
# File 'lib/fluent_command_builder/command_builders/nunit_26.rb', line 93
def err(file)
@b.append " -err:#{@b.format file}"
yield @b if block_given?
self
end
|
#exclude(category) {|@b| ... } ⇒ Object
118
119
120
121
122
|
# File 'lib/fluent_command_builder/command_builders/nunit_26.rb', line 118
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_26.rb', line 33
def fixture(fixture)
@b.append " -fixture:#{@b.format fixture}"
yield @b if block_given?
self
end
|
#framework(framework) {|@b| ... } ⇒ Object
123
124
125
126
127
|
# File 'lib/fluent_command_builder/command_builders/nunit_26.rb', line 123
def framework(framework)
@b.append " -framework:#{@b.format framework}"
yield @b if block_given?
self
end
|
#help {|@b| ... } ⇒ Object
183
184
185
186
187
|
# File 'lib/fluent_command_builder/command_builders/nunit_26.rb', line 183
def help
@b.append ' -help'
yield @b if block_given?
self
end
|
#include(category) {|@b| ... } ⇒ Object
113
114
115
116
117
|
# File 'lib/fluent_command_builder/command_builders/nunit_26.rb', line 113
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_26.rb', line 28
def input_files(input_files)
@b.append " #{@b.format input_files}"
yield @b if block_given?
self
end
|
#labels {|@b| ... } ⇒ Object
103
104
105
106
107
|
# File 'lib/fluent_command_builder/command_builders/nunit_26.rb', line 103
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_26.rb', line 38
def load(fixture)
@b.append " -load:#{@b.format fixture}"
yield @b if block_given?
self
end
|
#no_dots {|@b| ... } ⇒ Object
168
169
170
171
172
|
# File 'lib/fluent_command_builder/command_builders/nunit_26.rb', line 168
def no_dots
@b.append ' -noDots'
yield @b if block_given?
self
end
|
#no_logo {|@b| ... } ⇒ Object
163
164
165
166
167
|
# File 'lib/fluent_command_builder/command_builders/nunit_26.rb', line 163
def no_logo
@b.append ' -noLogo'
yield @b if block_given?
self
end
|
#no_result {|@b| ... } ⇒ Object
73
74
75
76
77
|
# File 'lib/fluent_command_builder/command_builders/nunit_26.rb', line 73
def no_result
@b.append ' -noResult'
yield @b if block_given?
self
end
|
#no_shadow {|@b| ... } ⇒ Object
143
144
145
146
147
|
# File 'lib/fluent_command_builder/command_builders/nunit_26.rb', line 143
def no_shadow
@b.append ' -noShadow'
yield @b if block_given?
self
end
|
#no_thread {|@b| ... } ⇒ Object
148
149
150
151
152
|
# File 'lib/fluent_command_builder/command_builders/nunit_26.rb', line 148
def no_thread
@b.append ' -noThread'
yield @b if block_given?
self
end
|
#no_xml {|@b| ... } ⇒ Object
78
79
80
81
82
|
# File 'lib/fluent_command_builder/command_builders/nunit_26.rb', line 78
def no_xml
@b.append ' -noXml'
yield @b if block_given?
self
end
|
#out(file) {|@b| ... } ⇒ Object
88
89
90
91
92
|
# File 'lib/fluent_command_builder/command_builders/nunit_26.rb', line 88
def out(file)
@b.append " -out:#{@b.format file}"
yield @b if block_given?
self
end
|
#output(file) {|@b| ... } ⇒ Object
83
84
85
86
87
|
# File 'lib/fluent_command_builder/command_builders/nunit_26.rb', line 83
def output(file)
@b.append " -output:#{@b.format file}"
yield @b if block_given?
self
end
|
#process(process) {|@b| ... } ⇒ Object
128
129
130
131
132
|
# File 'lib/fluent_command_builder/command_builders/nunit_26.rb', line 128
def process(process)
@b.append " -process:#{@b.format process}"
yield @b if block_given?
self
end
|
#result(file) {|@b| ... } ⇒ Object
58
59
60
61
62
|
# File 'lib/fluent_command_builder/command_builders/nunit_26.rb', line 58
def result(file)
@b.append " -result:#{@b.format file}"
yield @b if block_given?
self
end
|
#run(test) {|@b| ... } ⇒ Object
43
44
45
46
47
|
# File 'lib/fluent_command_builder/command_builders/nunit_26.rb', line 43
def run(test)
@b.append " -run:#{@b.format test}"
yield @b if block_given?
self
end
|
#run_list(file) {|@b| ... } ⇒ Object
48
49
50
51
52
|
# File 'lib/fluent_command_builder/command_builders/nunit_26.rb', line 48
def run_list(file)
@b.append " -runList:#{@b.format file}"
yield @b if block_given?
self
end
|
#stop_on_error {|@b| ... } ⇒ Object
173
174
175
176
177
|
# File 'lib/fluent_command_builder/command_builders/nunit_26.rb', line 173
def stop_on_error
@b.append ' -stopOnError'
yield @b if block_given?
self
end
|
#timeout(timeout) {|@b| ... } ⇒ Object
153
154
155
156
157
|
# File 'lib/fluent_command_builder/command_builders/nunit_26.rb', line 153
def timeout(timeout)
@b.append " -timeout:#{@b.format timeout}"
yield @b if block_given?
self
end
|
#trace(level) {|@b| ... } ⇒ Object
108
109
110
111
112
|
# File 'lib/fluent_command_builder/command_builders/nunit_26.rb', line 108
def trace(level)
@b.append " -trace:#{@b.format level}"
yield @b if block_given?
self
end
|
#wait {|@b| ... } ⇒ Object
158
159
160
161
162
|
# File 'lib/fluent_command_builder/command_builders/nunit_26.rb', line 158
def wait
@b.append ' -wait'
yield @b if block_given?
self
end
|
#work(directory) {|@b| ... } ⇒ Object
98
99
100
101
102
|
# File 'lib/fluent_command_builder/command_builders/nunit_26.rb', line 98
def work(directory)
@b.append " -work:#{@b.format directory}"
yield @b if block_given?
self
end
|
#xml(file) {|@b| ... } ⇒ Object
63
64
65
66
67
|
# File 'lib/fluent_command_builder/command_builders/nunit_26.rb', line 63
def xml(file)
@b.append " -xml:#{@b.format file}"
yield @b if block_given?
self
end
|
#xml_console {|@b| ... } ⇒ Object
68
69
70
71
72
|
# File 'lib/fluent_command_builder/command_builders/nunit_26.rb', line 68
def xml_console
@b.append ' -xmlConsole'
yield @b if block_given?
self
end
|