@@ -25,6 +25,9 @@ only one high-level keyword.
25
25
26
26
The following settings in the Setting section can be used to customize the suite:
27
27
28
+ `Name `:setting:
29
+ Used for setting a custom `suite name `_. The default name is created based
30
+ on the file or directory name.
28
31
`Documentation `:setting:
29
32
Used for specifying a `suite documentation `_.
30
33
`Metadata `:setting:
@@ -88,8 +91,9 @@ settings similarly as in `suite files`_, but setting some `test case
88
91
related settings `__ is also possible. How to use different settings in the
89
92
initialization files is explained below.
90
93
91
- `Documentation `:setting: , `Metadata `:setting: , `Suite Setup `:setting: , `Suite Teardown `:setting:
92
- These test suite specific settings work the same way as in test case files.
94
+ `Name `:setting: , `Documentation `:setting: , `Metadata `:setting: , `Suite Setup `:setting: , `Suite Teardown `:setting:
95
+ These suite specific settings work the same way in suite initialization files
96
+ as in suite files.
93
97
`Test Tags `:setting:
94
98
Specified tags are unconditionally set to all tests in all suite files
95
99
this directory contains, recursively. New in Robot Framework 6.1. The
@@ -112,7 +116,7 @@ initialization files is explained below.
112
116
*** Settings * **
113
117
Documentation Example suite
114
118
Suite Setup Do Something ${MESSAGE}
115
- Force Tags example
119
+ Test Tags example
116
120
Library SomeLibrary
117
121
118
122
*** Variables * **
@@ -130,8 +134,8 @@ __ `Test case related settings in the Setting section`_
130
134
Suite name
131
135
----------
132
136
133
- The test suite name is constructed from the file or directory name. The name
134
- is created so that the extension is ignored, possible underscores are
137
+ The test suite name is constructed from the file or directory name by default.
138
+ The name is created so that the extension is ignored, possible underscores are
135
139
replaced with spaces, and names fully in lower case are title cased. For
136
140
example, :file: `some_tests.robot ` becomes :name: `Some Tests ` and
137
141
:file: `My_test_directory ` becomes :name: `My test directory `.
@@ -144,6 +148,14 @@ the prefix and underscores are removed. For example files
144
148
suites :name: `Some Tests ` and :name: `More Tests `, respectively, and
145
149
the former is executed before the latter.
146
150
151
+ Starting from Robot Framework 6.1, it is also possible to give a custom name
152
+ to a suite by using the :setting: `Name ` setting in the Setting section:
153
+
154
+ .. sourcecode :: robotframework
155
+
156
+ *** Settings * **
157
+ Name Custom suite name
158
+
147
159
Suite documentation
148
160
-------------------
149
161
0 commit comments