|
142 | 142 | --runemptysuite Executes suite even if it contains no tests. Useful
|
143 | 143 | e.g. with --include/--exclude when it is not an error
|
144 | 144 | that no test matches the condition.
|
145 |
| - -c --critical tag * Tests having the given tag are considered critical. |
146 |
| - If no critical tags are set, all tests are critical. |
147 |
| - Tags can be given as a pattern same way as with |
148 |
| - --include. |
149 |
| - -n --noncritical tag * Tests having the given tag are not critical even if |
150 |
| - they have a tag set with --critical. Tag can be |
| 145 | + --skip tag * Tests having given tag will be skipped. Tag can be |
151 | 146 | a pattern.
|
152 |
| - --skip tag * Tests having given tag will be skipped.Tag can be |
153 |
| - a pattern. |
154 |
| - --skiponfailure tag * Tests having given tag will have status 'SKIP' |
155 |
| - instead of 'FAIL' if they fail. Tag can be a pattern. |
| 147 | + --skiponfailure tag * Tests having given tag will be marked skipped if |
| 148 | + they fail. New in RF 4.0. |
| 149 | + -n --noncritical tag * Alias for --skiponfailure. Deprecated since RF 4.0. |
| 150 | + -c --critical tag * Opposite of --noncritical. Deprecated since RF 4.0. |
156 | 151 | -v --variable name:value * Set variables in the test data. Only scalar
|
157 | 152 | variables with string value are supported and name is
|
158 | 153 | given without `${}`. See --variablefile for a more
|
|
184 | 179 | similarly as --log. Default: report.html
|
185 | 180 | -x --xunit file xUnit compatible result file. Not created unless this
|
186 | 181 | option is specified.
|
187 |
| - --xunitskipnoncritical Mark non-critical tests in xUnit output as skipped. |
| 182 | + --xunitskipnoncritical Deprecated since RF 4.0 and has no effect anymore. |
188 | 183 | -b --debugfile file Debug file written during execution. Not created
|
189 | 184 | unless this option is specified.
|
190 | 185 | -T --timestampoutputs When this option is used, timestamp in a format
|
@@ -429,8 +424,12 @@ def __init__(self):
|
429 | 424 | def main(self, datasources, **options):
|
430 | 425 | settings = RobotSettings(options)
|
431 | 426 | LOGGER.register_console_logger(**settings.console_output_config)
|
| 427 | + if settings['Critical'] or settings['NonCritical']: |
| 428 | + LOGGER.warn("Command line options --critical and --noncritical have been " |
| 429 | + "deprecated. Use --skiponfailure instead.") |
432 | 430 | if settings['XUnitSkipNonCritical']:
|
433 |
| - LOGGER.warn("Command line option --xunitskipnoncritical has been deprecated.") |
| 431 | + LOGGER.warn("Command line option --xunitskipnoncritical has been " |
| 432 | + "deprecated and has no effect.") |
434 | 433 | LOGGER.info('Settings:\n%s' % unic(settings))
|
435 | 434 | builder = TestSuiteBuilder(settings['SuiteNames'],
|
436 | 435 | included_extensions=settings.extension,
|
|
0 commit comments