Class: FluentCommandBuilder::MSTest::V80::MSTest
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::MSTest::V80::MSTest
show all
- Defined in:
- lib/fluent_command_builder/command_builders/mstest_80.rb
Instance Method Summary
collapse
Methods inherited from CommandBase
#configure!, #execute!, #to_s
Constructor Details
#initialize(underlying_builder) ⇒ MSTest
Returns a new instance of MSTest.
24
25
26
|
# File 'lib/fluent_command_builder/command_builders/mstest_80.rb', line 24
def initialize(underlying_builder)
super underlying_builder
end
|
Instance Method Details
#detail(property_id) {|@b| ... } ⇒ Object
62
63
64
65
66
|
# File 'lib/fluent_command_builder/command_builders/mstest_80.rb', line 62
def detail(property_id)
@b.append " /detail:#{@b.format property_id}"
yield @b if block_given?
self
end
|
#flavor(flavor) {|@b| ... } ⇒ Object
102
103
104
105
106
|
# File 'lib/fluent_command_builder/command_builders/mstest_80.rb', line 102
def flavor(flavor)
@b.append " /flavor:#{@b.format flavor}"
yield @b if block_given?
self
end
|
#help {|@b| ... } ⇒ Object
67
68
69
70
71
|
# File 'lib/fluent_command_builder/command_builders/mstest_80.rb', line 67
def help
@b.append ' /help'
yield @b if block_given?
self
end
|
#no_logo {|@b| ... } ⇒ Object
72
73
74
75
76
|
# File 'lib/fluent_command_builder/command_builders/mstest_80.rb', line 72
def no_logo
@b.append ' /noLogo'
yield @b if block_given?
self
end
|
97
98
99
100
101
|
# File 'lib/fluent_command_builder/command_builders/mstest_80.rb', line 97
def platform(platform)
@b.append " /platform:#{@b.format platform}"
yield @b if block_given?
self
end
|
#publish(server_name) {|@b| ... } ⇒ Object
77
78
79
80
81
|
# File 'lib/fluent_command_builder/command_builders/mstest_80.rb', line 77
def publish(server_name)
@b.append " /publish:#{@b.format server_name}"
yield @b if block_given?
self
end
|
#publish_build(build_id) {|@b| ... } ⇒ Object
87
88
89
90
91
|
# File 'lib/fluent_command_builder/command_builders/mstest_80.rb', line 87
def publish_build(build_id)
@b.append " /publishBuild:#{@b.format build_id}"
yield @b if block_given?
self
end
|
#publish_results_file(file_name) {|@b| ... } ⇒ Object
82
83
84
85
86
|
# File 'lib/fluent_command_builder/command_builders/mstest_80.rb', line 82
def publish_results_file(file_name)
@b.append " /publishResultsFile:#{@b.format file_name}"
yield @b if block_given?
self
end
|
#results_file(file_name) {|@b| ... } ⇒ Object
52
53
54
55
56
|
# File 'lib/fluent_command_builder/command_builders/mstest_80.rb', line 52
def results_file(file_name)
@b.append " /resultsFile:#{@b.format file_name}"
yield @b if block_given?
self
end
|
#run_config(file_name) {|@b| ... } ⇒ Object
47
48
49
50
51
|
# File 'lib/fluent_command_builder/command_builders/mstest_80.rb', line 47
def run_config(file_name)
@b.append " /runConfig:#{@b.format file_name}"
yield @b if block_given?
self
end
|
#team_project(team_project_name) {|@b| ... } ⇒ Object
92
93
94
95
96
|
# File 'lib/fluent_command_builder/command_builders/mstest_80.rb', line 92
def team_project(team_project_name)
@b.append " /teamProject:#{@b.format team_project_name}"
yield @b if block_given?
self
end
|
#test(test_name) {|@b| ... } ⇒ Object
42
43
44
45
46
|
# File 'lib/fluent_command_builder/command_builders/mstest_80.rb', line 42
def test(test_name)
@b.append " /test:#{@b.format test_name}"
yield @b if block_given?
self
end
|
#test_container(file_name) {|@b| ... } ⇒ Object
27
28
29
30
31
|
# File 'lib/fluent_command_builder/command_builders/mstest_80.rb', line 27
def test_container(file_name)
@b.append " /testContainer:#{@b.format file_name}"
yield @b if block_given?
self
end
|
#test_list(list_list_path) {|@b| ... } ⇒ Object
37
38
39
40
41
|
# File 'lib/fluent_command_builder/command_builders/mstest_80.rb', line 37
def test_list(list_list_path)
@b.append " /testList:#{@b.format list_list_path}"
yield @b if block_given?
self
end
|
32
33
34
35
36
|
# File 'lib/fluent_command_builder/command_builders/mstest_80.rb', line 32
def test_metadata(file_name)
@b.append " /testMetadata:#{@b.format file_name}"
yield @b if block_given?
self
end
|
#unique {|@b| ... } ⇒ Object
57
58
59
60
61
|
# File 'lib/fluent_command_builder/command_builders/mstest_80.rb', line 57
def unique
@b.append ' /unique'
yield @b if block_given?
self
end
|