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

Base model for a single test case. More...

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

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']
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 33 of file testcase.py.

Member Function Documentation

◆ id()

def robotide.lib.robot.model.testcase.TestCase.id (   self)
private

Definition at line 62 of file testcase.py.

◆ keywords()

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.

◆ longname()

def robotide.lib.robot.model.testcase.TestCase.longname (   self)
private

Definition at line 71 of file testcase.py.

◆ tags()

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.

◆ visit()

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.

Member Data Documentation

◆ __slots__

list robotide.lib.robot.model.testcase.TestCase.__slots__ = ['parent', 'name', 'doc', 'timeout']
staticprivate

Definition at line 30 of file testcase.py.

◆ doc

robotide.lib.robot.model.testcase.TestCase.doc

Definition at line 36 of file testcase.py.

◆ keyword_class

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

Definition at line 31 of file testcase.py.

◆ keywords

robotide.lib.robot.model.testcase.TestCase.keywords

Definition at line 39 of file testcase.py.

◆ name

robotide.lib.robot.model.testcase.TestCase.name

Definition at line 35 of file testcase.py.

◆ parent

robotide.lib.robot.model.testcase.TestCase.parent

Definition at line 34 of file testcase.py.

◆ tags

robotide.lib.robot.model.testcase.TestCase.tags

Definition at line 38 of file testcase.py.

◆ timeout

robotide.lib.robot.model.testcase.TestCase.timeout

Definition at line 37 of file testcase.py.

Property Documentation

◆ id

robotide.lib.robot.model.testcase.TestCase.id = property
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.

◆ longname

robotide.lib.robot.model.testcase.TestCase.longname = property
static

Test name prefixed with the long name of the parent suite.

Definition at line 69 of file testcase.py.


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