|
| def | __init__ (self, name='', doc='', metadata=None, source=None, message='', starttime=None, endtime=None, rpa=False) |
| |
| def | configure (self, **options) |
| | A shortcut to configure a suite using one method call. More...
|
| |
| def | filter_messages (self, log_level='TRACE') |
| | Remove log messages below the specified log_level. More...
|
| |
| def | handle_suite_teardown_failures (self) |
| | Internal usage only. More...
|
| |
| def | remove_keywords (self, how) |
| | Remove keywords based on the given condition. More...
|
| |
| def | set_criticality (self, critical_tags=None, non_critical_tags=None) |
| | Sets which tags are considered critical and which non-critical. More...
|
| |
| def | suite_teardown_failed (self, message) |
| | Internal usage only. More...
|
| |
| def | __init__ (self, name='', doc='', metadata=None, source=None, rpa=False) |
| |
| def | filter (self, included_suites=None, included_tests=None, included_tags=None, excluded_tags=None) |
| | Select test cases and remove others from this suite. More...
|
| |
| def | keywords (self, keywords) |
| | Suite setup and teardown as a :class:~.Keywords object. More...
|
| |
| def | metadata (self, metadata) |
| | Free test suite metadata as a dictionary. More...
|
| |
| def | remove_empty_suites (self) |
| | Removes all child suites not containing any tests, recursively. More...
|
| |
| def | set_tags (self, add=None, remove=None, persist=False) |
| | Add and/or remove specified tags to the tests in this suite. More...
|
| |
| def | suites (self, suites) |
| | Child suites as a :class:~.TestSuites object. More...
|
| |
| def | tests (self, tests) |
| | Tests as a :class:~.TestCases object. More...
|
| |
| def | visit (self, visitor) |
| | :mod:Visitor interface <robot.model.visitor> entry-point. More...
|
| |
| def | __repr__ (self) |
| |
| def | __setstate__ (self, state) |
| | Customize attribute updating when using the copy module. More...
|
| |
| def | __unicode__ (self) |
| |
| def | copy (self, **attributes) |
| | Return shallow copy of this object. More...
|
| |
| def | deepcopy (self, **attributes) |
| | Return deep copy of this object. More...
|
| |
Represents results of a single test suite.
See the base class for documentation of attributes not documented here.
Definition at line 181 of file model.py.
| def robotide.lib.robot.result.model.TestSuite.configure |
( |
|
self, |
|
|
** |
options |
|
) |
| |
A shortcut to configure a suite using one method call.
Can only be used with the root test suite.
:param options: Passed to
:class:`~robot.result.configurer.SuiteConfigurer` that will then
set suite attributes, call :meth:`filter`, etc. as needed.
Example::
suite.configure(remove_keywords='PASSED',
critical_tags='smoke',
doc='Smoke test results.')
Reimplemented from robotide.lib.robot.model.testsuite.TestSuite.
Definition at line 316 of file model.py.
| def robotide.lib.robot.result.model.TestSuite.remove_keywords |
( |
|
self, |
|
|
|
how |
|
) |
| |
Remove keywords based on the given condition.
:param how: What approach to use when removing keywords. Either
``ALL``, ``PASSED``, ``FOR``, ``WUKS``, or ``NAME:<pattern>``.
For more information about the possible values see the documentation
of the ``--removekeywords`` command line option.
Definition at line 295 of file model.py.
| def robotide.lib.robot.result.model.TestSuite.set_criticality |
( |
|
self, |
|
|
|
critical_tags = None, |
|
|
|
non_critical_tags = None |
|
) |
| |
Sets which tags are considered critical and which non-critical.
:param critical_tags: Tags or patterns considered critical. See
the documentation of the ``--critical`` option for more details.
:param non_critical_tags: Tags or patterns considered non-critical. See
the documentation of the ``--noncritical`` option for more details.
Tags can be given as lists of strings or, when giving only one,
as single strings. This information is used by tests to determine
are they considered critical or not.
Criticality can be set only to the root test suite.
Definition at line 282 of file model.py.