Base model for a single test case. More...
Public Member Functions | |
| def | __init__ (self, name='', doc='', tags=None, timeout=None) |
| def | keywords (self, keywords) |
Keywords as a :class:~.Keywords object. More... | |
| def | tags (self, tags) |
Test tags as a :class:~.model.tags.Tags object. More... | |
| def | visit (self, visitor) |
:mod:Visitor interface <robot.model.visitor> entry-point. More... | |
Public Member Functions inherited from robotide.lib.robot.model.modelobject.ModelObject | |
| 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... | |
Public Attributes | |
| doc | |
| keywords | |
| name | |
| parent | |
| tags | |
| timeout | |
Static Public Attributes | |
| keyword_class = Keyword | |
Properties | |
| id = property | |
Test case id in format like s1-t3. More... | |
| longname = property | |
| Test name prefixed with the long name of the parent suite. More... | |
Private Member Functions | |
| def | id (self) |
| def | longname (self) |
Static Private Attributes | |
| list | __slots__ = ['parent', 'name', 'doc', 'timeout'] |
Base model for a single test case.
Extended by :class:`robot.running.model.TestCase` and :class:`robot.result.model.TestCase`.
Definition at line 29 of file testcase.py.
| def robotide.lib.robot.model.testcase.TestCase.__init__ | ( | self, | |
name = '', |
|||
doc = '', |
|||
tags = None, |
|||
timeout = None |
|||
| ) |
Definition at line 33 of file testcase.py.
|
private |
Definition at line 62 of file testcase.py.
| def robotide.lib.robot.model.testcase.TestCase.keywords | ( | self, | |
| keywords | |||
| ) |
Keywords as a :class:~.Keywords object.
Contains also possible setup and teardown keywords.
Definition at line 51 of file testcase.py.
|
private |
Definition at line 71 of file testcase.py.
| def robotide.lib.robot.model.testcase.TestCase.tags | ( | self, | |
| tags | |||
| ) |
Test tags as a :class:~.model.tags.Tags object.
Definition at line 43 of file testcase.py.
| def robotide.lib.robot.model.testcase.TestCase.visit | ( | self, | |
| visitor | |||
| ) |
:mod:Visitor interface <robot.model.visitor> entry-point.
Definition at line 77 of file testcase.py.
|
staticprivate |
Definition at line 30 of file testcase.py.
| robotide.lib.robot.model.testcase.TestCase.doc |
Definition at line 36 of file testcase.py.
|
static |
Definition at line 31 of file testcase.py.
| robotide.lib.robot.model.testcase.TestCase.keywords |
Definition at line 39 of file testcase.py.
| robotide.lib.robot.model.testcase.TestCase.name |
Definition at line 35 of file testcase.py.
| robotide.lib.robot.model.testcase.TestCase.parent |
Definition at line 34 of file testcase.py.
| robotide.lib.robot.model.testcase.TestCase.tags |
Definition at line 38 of file testcase.py.
| robotide.lib.robot.model.testcase.TestCase.timeout |
Definition at line 37 of file testcase.py.
|
static |
Test case id in format like s1-t3.
See :attr:`TestSuite.id <robot.model.testsuite.TestSuite.id>` for
more information.
Definition at line 60 of file testcase.py.
|
static |
Test name prefixed with the long name of the parent suite.
Definition at line 69 of file testcase.py.