Robot Framework Integrated Development Environment (RIDE)
robotide.lib.robot.running.model.TestCase Class Reference

Represents a single executable test case. More...

Inheritance diagram for robotide.lib.robot.running.model.TestCase:
robotide.lib.robot.model.testcase.TestCase robotide.lib.robot.model.modelobject.ModelObject object

Public Member Functions

def __init__ (self, name='', doc='', tags=None, timeout=None, template=None)
 
def timeout (self, timeout)
 Test timeout as a :class:Timeout instance or None. More...
 
- Public Member Functions inherited from robotide.lib.robot.model.testcase.TestCase
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

 template
 
- Public Attributes inherited from robotide.lib.robot.model.testcase.TestCase
 doc
 
 keywords
 
 name
 
 parent
 
 tags
 
 timeout
 

Static Public Attributes

 keyword_class = Keyword
 
- Static Public Attributes inherited from robotide.lib.robot.model.testcase.TestCase
 keyword_class = Keyword
 

Static Private Attributes

list __slots__ = ['template']
 

Additional Inherited Members

- Properties inherited from robotide.lib.robot.model.testcase.TestCase
 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...
 

Detailed Description

Represents a single executable test case.

See the base class for documentation of attributes not documented here.

Definition at line 94 of file model.py.

Constructor & Destructor Documentation

◆ __init__()

def robotide.lib.robot.running.model.TestCase.__init__ (   self,
  name = '',
  doc = '',
  tags = None,
  timeout = None,
  template = None 
)

Definition at line 98 of file model.py.

Member Function Documentation

◆ timeout()

def robotide.lib.robot.running.model.TestCase.timeout (   self,
  timeout 
)

Test timeout as a :class:Timeout instance or None.

    This attribute is likely to change in the future.

Definition at line 109 of file model.py.

Member Data Documentation

◆ __slots__

list robotide.lib.robot.running.model.TestCase.__slots__ = ['template']
staticprivate

Definition at line 95 of file model.py.

◆ keyword_class

robotide.lib.robot.running.model.TestCase.keyword_class = Keyword
static

Definition at line 96 of file model.py.

◆ template

robotide.lib.robot.running.model.TestCase.template

Definition at line 102 of file model.py.


The documentation for this class was generated from the following file: