File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,8 @@ Invoking Tests
139
139
You can run tests by allowing nose2's autodiscovery to find all of your tests,
140
140
or you can specify specific tests to be run on the command line. When
141
141
specifying specific tests, you can either specify an entire package,
142
- an entire feature, or individual scenarios.
142
+ an entire feature, or individual scenarios. Individual scenarios can be
143
+ specified either by index (from 0) or by name.
143
144
144
145
.. code ::
145
146
@@ -149,3 +150,7 @@ an entire feature, or individual scenarios.
149
150
nose2 planterbox.tests.test_feature:basic.feature:0
150
151
nose2 planterbox.tests.test_feature:basic.feature:"I need to verify basic arithmetic"
151
152
nose2 planterbox.tests.test_feature:basic.feature:"I need to verify basic arithmetic."
153
+
154
+ If your feature includes multiple scenarios with the same name, all will be
155
+ run when that name is given. Names with a trailing period can be specified with
156
+ or without the trailing period.
You can’t perform that action at this time.
0 commit comments